Fail if --from or --to is passed to commands that do not support them.

This commit is contained in:
Joey Hess 2011-10-27 18:56:54 -04:00
parent c879eb873e
commit b955238ec7
36 changed files with 58 additions and 46 deletions

View file

@ -19,7 +19,7 @@ import Utility.Touch
import Backend
command :: [Command]
command = [Command "add" paramPaths needsRepo seek "add files to annex"]
command = [Command "add" paramPaths defaultChecks seek "add files to annex"]
{- Add acts on both files not checked into git yet, and unlocked files. -}
seek :: [CommandSeek]