Commit 362b3b95 authored by Sophie Herold's avatar Sophie Herold 🌼

Adds missing help text to cli options (fixes #66)

parent 028b5bee
Pipeline #795 passed with stage
in 5 minutes and 5 seconds
......@@ -107,7 +107,9 @@ parserOptCommonDb =
boolFlag (long "emulate" <> short 'e' <> help "Perform changes but rollback") <*>
boolFlag
(long "print" <> short 'p' <> help "Print SQL code instead of executing") <*>
strOption (long "connection" <> short 'c' <> val "postgresql://") <*>
strOption
(long "connection" <> short 'c' <> help "Database connection URI" <>
val "postgresql://") <*>
boolFlag
(long "permit-data-deletion" <> help "Permit deletion of columns and tables") <*>
option
......@@ -157,9 +159,12 @@ parserOptDoc :: Parser OptDoc
parserOptDoc =
OptDoc <$>
strOption
(long "output-dir" <> short 'o' <> val "docs/" <> action "directory") <*>
(long "output-dir" <> short 'o' <> help "Output directory" <> val "docs/" <>
action "directory") <*>
strOption
(long "template" <> short 't' <> val "DEFAULT.rst" <>
(long "template" <> short 't' <>
help "Template file (DEFAULT.rst is loading a building template.)" <>
val "DEFAULT.rst" <>
action "file -X '!*.html'" <>
action "file -X '!*.md'" <>
action "file -X '!*.rst'" <>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment