Skip to content

Commit 164aebe

Browse files
author
Your Name
committed
Update commands example
1 parent 5c3c61e commit 164aebe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/41-commands.hell

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ cmdParser =
2929
)
3030

3131
main = do
32-
let opts = Options.info (Main.cmdParser <**> Options.helper) Options.fullDesc
32+
let opts = Options.info (Main.cmdParser <**> Options.helper)
33+
(Options.fullDesc <> Options.header "Program is distributed AS IS, without ANY warranty claims")
3334
cmd <- Options.execParser opts
3435
case cmd of
3536
Add f -> Text.putStrLn $ "Adding " <> f

0 commit comments

Comments
 (0)