From b955238ec7464b12c793d543fc51308c8b213e08 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 Oct 2011 18:56:54 -0400 Subject: Fail if --from or --to is passed to commands that do not support them. --- Command/Add.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Add.hs') diff --git a/Command/Add.hs b/Command/Add.hs index 255e787b7..33b636bed 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -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] -- cgit v1.2.3