Fail if --from or --to is passed to commands that do not support them.
This commit is contained in:
parent
c879eb873e
commit
b955238ec7
36 changed files with 58 additions and 46 deletions
|
@ -19,7 +19,7 @@ import Annex.UUID
|
|||
command :: [Command]
|
||||
command = [Command "initremote"
|
||||
(paramPair paramName $ paramOptional $ paramRepeating paramKeyValue)
|
||||
needsRepo seek "sets up a special (non-git) remote"]
|
||||
defaultChecks seek "sets up a special (non-git) remote"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withWords start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue