From 10d13de5a0282b2a39970b444106118ef936a91a Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Wed, 28 Nov 2018 21:15:03 -0600 Subject: [PATCH] Fix -r arg argument. It's not supposed to be required. :-p --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e11c09a..77ee51a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,12 +45,12 @@ fn do_flags<'a, 'b>() -> clap::App<'a, 'b> { ) (@subcommand build => (about: "Build a list of ucg files.") - (@arg recurse: -r +required "Whether we should recurse in directories or not.") + (@arg recurse: -r "Whether we should recurse in directories or not.") (@arg INPUT: ... "Input ucg files or directories to build. If not provided then build the contents of the current directory.") ) (@subcommand test => (about: "Check a list of ucg files for errors and run test assertions.") - (@arg recurse: -r +required "Whether we should recurse or not.") + (@arg recurse: -r "Whether we should recurse or not.") (@arg INPUT: ... "Input ucg files or directories to run test assertions for. If not provided it will scan the current directory for files with _test.ucg") ) (@subcommand converters =>