summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2020-08-31 18:35:28 -0400
committerNick Gerace <39320683+nickgerace@users.noreply.github.com>2020-08-31 18:45:19 -0400
commitd3227a0e9e329e91e3b001cad2797884ad3f3104 (patch)
treebaf8f3484c0c3a701db3e67c1683793a4c856c1f /Makefile
parent3537ddde312ef83f4dd2a57c7d867f5ebf53cfe5 (diff)
downloadgfold-d3227a0e9e329e91e3b001cad2797884ad3f3104.zip
Switch to structopt for CLI parsing, and change path flag to positional argument
Switch from clap to structopt for the CLI library of choice. This is because we were using unversioned clap at its latest main branch release. Structopt will provide us with concrete version support until clap v3 releases, or we stay with structopt. We also change the "-p/--path" flag to an optional, positional argument with this commit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d778899..f727d23 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ NAME:=gfold
VERSION:=0.3.1
run:
- @cd $(MAKEPATH); cargo run -- -p ..
+ @cd $(MAKEPATH); cargo run -- ..
install:
cargo install --git https://github.com/nickgerace/gfold