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() {
|
pub fn app() {
|
||||||
let matches = App::new("just")
|
let matches = App::new("just")
|
||||||
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
.version(concat!("v", env!("CARGO_PKG_VERSION")))
|
||||||
.author("Casey Rodarmor <casey@rodarmor.com>")
|
.author(env!("CARGO_PKG_AUTHORS"))
|
||||||
.about("Just a command runner - https://github.com/casey/just")
|
.about(concat!(env!("CARGO_PKG_DESCRIPTION"), " - ", env!("CARGO_PKG_HOMEPAGE")))
|
||||||
.setting(AppSettings::ColoredHelp)
|
.setting(AppSettings::ColoredHelp)
|
||||||
.arg(Arg::with_name("ARGUMENTS")
|
.arg(Arg::with_name("ARGUMENTS")
|
||||||
.multiple(true)
|
.multiple(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user