Get package name from Cargo.toml (#315)
This commit is contained in:
parent
c0f8dfbc89
commit
a3294822c3
@ -44,7 +44,7 @@ impl Slurp for fs::File {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn run() {
|
pub fn run() {
|
||||||
let matches = App::new("just")
|
let matches = App::new(env!("CARGO_PKG_NAME"))
|
||||||
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
||||||
.author(env!("CARGO_PKG_AUTHORS"))
|
.author(env!("CARGO_PKG_AUTHORS"))
|
||||||
.about(concat!(env!("CARGO_PKG_DESCRIPTION"), " - ", env!("CARGO_PKG_HOMEPAGE")))
|
.about(concat!(env!("CARGO_PKG_DESCRIPTION"), " - ", env!("CARGO_PKG_HOMEPAGE")))
|
||||||
|
Loading…
Reference in New Issue
Block a user