summaryrefslogtreecommitdiff
path: root/Biz/Cli.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-01-01 20:36:48 -0500
committerBen Sima <ben@bsima.me>2023-01-01 20:36:48 -0500
commit9699335376fa4bd5a9c7f2dcfb6bbe6a0165be40 (patch)
tree807d9ffb0ab271a56f91359bd37017681de83f07 /Biz/Cli.hs
parent2bf10cf2082775fb027a4975b06c199798518c7b (diff)
Support -h in Biz.Cli
Diffstat (limited to 'Biz/Cli.hs')
-rw-r--r--Biz/Cli.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Cli.hs b/Biz/Cli.hs
index 435ded2..b3c7583 100644
--- a/Biz/Cli.hs
+++ b/Biz/Cli.hs
@@ -38,7 +38,7 @@ main Plan {..} =
if args `has` Docopt.command "test"
then Test.run test
else
- if args `has` Docopt.longOption "help"
+ if args `has` Docopt.longOption "help" || args `has` Docopt.shortOption 'h'
then Docopt.exitWithUsage help
else move args