mirror of
https://github.com/casey/just.git
synced 2024-12-18 07:21:34 +03:00
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() {
|
||||
let matches = App::new("just")
|
||||
let matches = App::new(env!("CARGO_PKG_NAME"))
|
||||
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
||||
.author(env!("CARGO_PKG_AUTHORS"))
|
||||
.about(concat!(env!("CARGO_PKG_DESCRIPTION"), " - ", env!("CARGO_PKG_HOMEPAGE")))
|
||||
|
Loading…
Reference in New Issue
Block a user