summaryrefslogtreecommitdiff
path: root/Command/NotifyChanges.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/NotifyChanges.hs')
-rw-r--r--Command/NotifyChanges.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Command/NotifyChanges.hs b/Command/NotifyChanges.hs
index 55379440c..091208349 100644
--- a/Command/NotifyChanges.hs
+++ b/Command/NotifyChanges.hs
@@ -20,9 +20,10 @@ import Control.Concurrent.Async
import Control.Concurrent.STM
cmd :: Command
-cmd = noCommit $ command "notifychanges" paramNothing SectionPlumbing
- "sends notification when git refs are changed"
- (commandParser seek)
+cmd = noCommit $
+ command "notifychanges" SectionPlumbing
+ "sends notification when git refs are changed"
+ paramNothing (withParams seek)
seek :: CmdParams -> CommandSeek
seek = withNothing start