mirror of
https://github.com/casey/just.git
synced 2024-11-24 04:38:25 +03:00
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")
|
||||
.help("Highlight echoed recipe lines in bold"))
|
||||
.arg(Arg::with_name("JUSTFILE")
|
||||
.short("f")
|
||||
.long("justfile")
|
||||
.takes_value(true)
|
||||
.help("Uses <JUSTFILE> as justfile. --working-directory must also be set")
|
||||
@ -103,6 +104,7 @@ pub fn app() {
|
||||
.long("verbose")
|
||||
.help("Use verbose output"))
|
||||
.arg(Arg::with_name("WORKING-DIRECTORY")
|
||||
.short("d")
|
||||
.long("working-directory")
|
||||
.takes_value(true)
|
||||
.help("Uses <WORKING-DIRECTORY> as working directory. --justfile must also be set")
|
||||
|
Loading…
Reference in New Issue
Block a user