summaryrefslogtreecommitdiff
path: root/Command/VPop.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/VPop.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/VPop.hs')
-rw-r--r--Command/VPop.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/VPop.hs b/Command/VPop.hs
index f6fc56b08..0dadd52fb 100644
--- a/Command/VPop.hs
+++ b/Command/VPop.hs
@@ -18,7 +18,7 @@ import Command.View (checkoutViewBranch)
cmd :: Command
cmd = notBareRepo $ notDirect $
- command "vpop" (paramOptional paramNumber) seek SectionMetaData
+ command "vpop" paramNumber seek SectionMetaData
"switch back to previous view"
seek :: CommandSeek