Skip to content

Commit ac5bf8e

Browse files
Merge pull request #134 from chrisdone/cd/2026-05-28-update-example
Update commands example
2 parents 5c3c61e + 164aebe commit ac5bf8e

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)