summaryrefslogtreecommitdiff
path: root/Command/InitRemote.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/InitRemote.hs')
-rw-r--r--Command/InitRemote.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Command/InitRemote.hs b/Command/InitRemote.hs
index 073ba72f9..8f97199b7 100644
--- a/Command/InitRemote.hs
+++ b/Command/InitRemote.hs
@@ -17,10 +17,9 @@ import qualified Types.Remote as R
import Annex.UUID
command :: [Command]
-command = [repoCommand "initremote"
- (paramPair paramName $
- paramOptional $ paramRepeating paramKeyValue) seek
- "sets up a special (non-git) remote"]
+command = [Command "initremote"
+ (paramPair paramName $ paramOptional $ paramRepeating paramKeyValue)
+ needsRepo seek "sets up a special (non-git) remote"]
seek :: [CommandSeek]
seek = [withWords start]