From 9699335376fa4bd5a9c7f2dcfb6bbe6a0165be40 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 1 Jan 2023 20:36:48 -0500 Subject: Support -h in Biz.Cli --- Biz/Cli.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz/Cli.hs') 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 -- cgit v1.2.3