diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-08 13:39:11 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-08 13:39:11 -0400 |
commit | 8879c96d157f06bbd2372064251676b7927ce38e (patch) | |
tree | 146672a064a12c92cb692dc3a8293d2dd48afe22 /Command/Info.hs | |
parent | e73914b7950ce9d26a3882472c7ab27260ff87f9 (diff) |
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.
Diffstat (limited to 'Command/Info.hs')
-rw-r--r-- | Command/Info.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Info.hs b/Command/Info.hs index 802aabb56..0c8200ff3 100644 --- a/Command/Info.hs +++ b/Command/Info.hs @@ -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 |