diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-08 15:39:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-08 15:39:05 -0400 |
commit | b2252febf1355e62a00fb735831d3b2a1aed2566 (patch) | |
tree | 621fb71f80252d300436261bb1d67ee537d1f7e9 /Command/XMPPGit.hs | |
parent | e7e61fb6cbe5455ded9bb550a64121223c099fc2 (diff) |
support cmdnorepo actions, also using getopt-applicative there
Diffstat (limited to 'Command/XMPPGit.hs')
-rw-r--r-- | Command/XMPPGit.hs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Command/XMPPGit.hs b/Command/XMPPGit.hs index 7d7d99476..86d8dbc11 100644 --- a/Command/XMPPGit.hs +++ b/Command/XMPPGit.hs @@ -12,9 +12,12 @@ import Command import Assistant.XMPP.Git cmd :: Command -cmd = noCommit $ noRepo startNoRepo $ dontCheck repoExists $ - command "xmppgit" SectionPlumbing "git to XMPP relay" - paramNothing (withParams seek) +cmd = noCommit $ dontCheck repoExists $ + noRepo (parseparams startNoRepo) $ + command "xmppgit" SectionPlumbing "git to XMPP relay" + paramNothing (parseparams seek) + where + parseparams = withParams seek :: CmdParams -> CommandSeek seek = withWords start |