Add short options for justfile and working-directory (#222)
Adds -f and -d as short options for --justfile and --working-directory respectively. Thanks @chrisvittal!
This commit is contained in:
parent
e22da124d4
commit
a07fc226c1
@ -64,6 +64,7 @@ pub fn app() {
|
|||||||
.long("highlight")
|
.long("highlight")
|
||||||
.help("Highlight echoed recipe lines in bold"))
|
.help("Highlight echoed recipe lines in bold"))
|
||||||
.arg(Arg::with_name("JUSTFILE")
|
.arg(Arg::with_name("JUSTFILE")
|
||||||
|
.short("f")
|
||||||
.long("justfile")
|
.long("justfile")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Uses <JUSTFILE> as justfile. --working-directory must also be set")
|
.help("Uses <JUSTFILE> as justfile. --working-directory must also be set")
|
||||||
@ -103,6 +104,7 @@ pub fn app() {
|
|||||||
.long("verbose")
|
.long("verbose")
|
||||||
.help("Use verbose output"))
|
.help("Use verbose output"))
|
||||||
.arg(Arg::with_name("WORKING-DIRECTORY")
|
.arg(Arg::with_name("WORKING-DIRECTORY")
|
||||||
|
.short("d")
|
||||||
.long("working-directory")
|
.long("working-directory")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Uses <WORKING-DIRECTORY> as working directory. --justfile must also be set")
|
.help("Uses <WORKING-DIRECTORY> as working directory. --justfile must also be set")
|
||||||
|
Loading…
Reference in New Issue
Block a user