Use crate metadata in --help string (#197)
This commit is contained in:
parent
b84fa89d71
commit
59d863f6f4
@ -90,8 +90,8 @@ fn edit<P: convert::AsRef<ffi::OsStr>>(path: P) -> ! {
|
||||
pub fn app() {
|
||||
let matches = App::new("just")
|
||||
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
||||
.author("Casey Rodarmor <casey@rodarmor.com>")
|
||||
.about("Just a command runner - https://github.com/casey/just")
|
||||
.author(env!("CARGO_PKG_AUTHORS"))
|
||||
.about(concat!(env!("CARGO_PKG_DESCRIPTION"), " - ", env!("CARGO_PKG_HOMEPAGE")))
|
||||
.setting(AppSettings::ColoredHelp)
|
||||
.arg(Arg::with_name("ARGUMENTS")
|
||||
.multiple(true)
|
||||
|
Loading…
Reference in New Issue
Block a user