summaryrefslogtreecommitdiff
path: root/Command/Describe.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Describe.hs')
-rw-r--r--Command/Describe.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/Describe.hs b/Command/Describe.hs
index 56a73334d..ca0bac4e8 100644
--- a/Command/Describe.hs
+++ b/Command/Describe.hs
@@ -12,11 +12,13 @@ import Command
import qualified Remote
import Logs.UUID
-cmd :: [Command]
-cmd = [command "describe" (paramPair paramRemote paramDesc) seek
- SectionSetup "change description of a repository"]
+cmd :: Command
+cmd = command "describe" SectionSetup
+ "change description of a repository"
+ (paramPair paramRemote paramDesc)
+ (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withWords start
start :: [String] -> CommandStart