summaryrefslogtreecommitdiff
path: root/Command/Help.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 13:39:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 13:39:11 -0400
commit8879c96d157f06bbd2372064251676b7927ce38e (patch)
tree146672a064a12c92cb692dc3a8293d2dd48afe22 /Command/Help.hs
parente73914b7950ce9d26a3882472c7ab27260ff87f9 (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/Help.hs')
-rw-r--r--Command/Help.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Help.hs b/Command/Help.hs
index 073ab2b36..b6b1be379 100644
--- a/Command/Help.hs
+++ b/Command/Help.hs
@@ -23,7 +23,7 @@ import System.Console.GetOpt
cmd :: Command
cmd = noCommit $ noRepo startNoRepo $ dontCheck repoExists $
- command "help" (paramOptional "COMMAND") seek SectionCommon "display help"
+ command "help" "COMMAND" seek SectionCommon "display help"
seek :: CommandSeek
seek = withWords start