Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/41-commands.hell
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ cmdParser =
)

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