summaryrefslogtreecommitdiff
path: root/Command/Ungroup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Ungroup.hs')
-rw-r--r--Command/Ungroup.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Command/Ungroup.hs b/Command/Ungroup.hs
index dd6e8c952..cd2ebdf9b 100644
--- a/Command/Ungroup.hs
+++ b/Command/Ungroup.hs
@@ -15,11 +15,11 @@ import Types.Group
import qualified Data.Set as S
-cmd :: [Command]
-cmd = [command "ungroup" (paramPair paramRemote paramDesc) seek
- SectionSetup "remove a repository from a group"]
+cmd :: Command
+cmd = command "ungroup" SectionSetup "remove a repository from a group"
+ (paramPair paramRemote paramDesc) (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withWords start
start :: [String] -> CommandStart