display cmdparamdesc in optparse-applicative usage messages
Since optparse-applicative display "FOO" as "[FOO]", the paramOptional modifier which wrapped it in square brackets was removed from most places.
This commit is contained in:
parent
a2ba701056
commit
3125da54f6
7 changed files with 15 additions and 11 deletions
|
@ -53,7 +53,7 @@ import qualified Data.Map as M
|
|||
|
||||
cmd :: Command
|
||||
cmd = withOptions syncOptions $
|
||||
command "sync" (paramOptional (paramRepeating paramRemote))
|
||||
command "sync" (paramRepeating paramRemote)
|
||||
seek SectionCommon "synchronize local repository with remotes"
|
||||
|
||||
syncOptions :: [Option]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue