aboutsummaryrefslogtreecommitdiff
path: root/Command/Commit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 15:08:02 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 15:08:02 -0400
commite7e61fb6cbe5455ded9bb550a64121223c099fc2 (patch)
tree003a99697256ea516ad40f9fbdb854996b58c0cd /Command/Commit.hs
parent8879c96d157f06bbd2372064251676b7927ce38e (diff)
convert all commands to work with optparse-applicative
Still no options though.
Diffstat (limited to 'Command/Commit.hs')
-rw-r--r--Command/Commit.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Commit.hs b/Command/Commit.hs
index b94182a06..52b88d2b3 100644
--- a/Command/Commit.hs
+++ b/Command/Commit.hs
@@ -13,9 +13,9 @@ import qualified Annex.Branch
import qualified Git
cmd :: Command
-cmd = command "commit" paramNothing
- SectionPlumbing "commits any staged changes to the git-annex branch"
- (commandParser seek)
+cmd = command "commit" SectionPlumbing
+ "commits any staged changes to the git-annex branch"
+ paramNothing (withParams seek)
seek :: CmdParams -> CommandSeek
seek = withNothing start