diff options
Diffstat (limited to 'Command/NotifyChanges.hs')
-rw-r--r-- | Command/NotifyChanges.hs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/NotifyChanges.hs b/Command/NotifyChanges.hs index 7ec6072dd..091208349 100644 --- a/Command/NotifyChanges.hs +++ b/Command/NotifyChanges.hs @@ -19,11 +19,13 @@ import Control.Concurrent import Control.Concurrent.Async import Control.Concurrent.STM -cmd :: [Command] -cmd = [noCommit $ command "notifychanges" paramNothing seek SectionPlumbing - "sends notification when git refs are changed"] +cmd :: Command +cmd = noCommit $ + command "notifychanges" SectionPlumbing + "sends notification when git refs are changed" + paramNothing (withParams seek) -seek :: CommandSeek +seek :: CmdParams -> CommandSeek seek = withNothing start start :: CommandStart |