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
|
@ -80,7 +80,7 @@ type StatState = StateT StatInfo Annex
|
|||
|
||||
cmd :: Command
|
||||
cmd = noCommit $ dontCheck repoExists $ withOptions (jsonOption : bytesOption : annexedMatchingOptions) $
|
||||
command "info" (paramOptional $ paramRepeating paramItem) seek SectionQuery
|
||||
command "info" (paramRepeating paramItem) seek SectionQuery
|
||||
"shows information about the specified item or the repository as a whole"
|
||||
|
||||
seek :: CommandSeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue