Don't allow args with early exit options (#96)

Fixes #85
This commit is contained in:
Casey Rodarmor 2016-11-12 14:04:46 -08:00 committed by GitHub
parent 2f530adf48
commit caf2570bb2

View File

@ -127,7 +127,7 @@ pub fn app() {
.multiple(true)
.help("The recipe(s) to run, defaults to the first recipe in the justfile"))
.group(ArgGroup::with_name("early-exit")
.args(&["dump", "edit", "list", "show", "summary"]))
.args(&["dump", "edit", "list", "show", "summary", "arguments", "evaluate"]))
.get_matches();
let use_color_argument = matches.value_of("color").expect("--color had no value");