summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorliv <liv@fastmail.com>2019-01-09 22:04:08 +0100
committerliv <liv@fastmail.com>2019-01-09 22:04:08 +0100
commit141db7795b23d066a2b7c798d16c96ff53aa5a52 (patch)
tree95d475ac48bab300b42c8ccef276f08f44ac5e4e /src/main.rs
parent17e12433cbe0174fe93196a43953af95ccb71dae (diff)
add --test run flag
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 779e4b9..b74cda7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -25,7 +25,8 @@ fn main() {
.subcommand(
SubCommand::with_name("run")
.alias("r")
- .arg(Arg::with_name("file").required(true).index(1)),
+ .arg(Arg::with_name("file").required(true).index(1))
+ .arg(Arg::with_name("test").short("t").long("test")),
)
.get_matches();