diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-06 17:08:14 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-06 17:16:41 -0400 |
commit | 0cb5a870007c8299f8788962bd7dfc0848794dc0 (patch) | |
tree | 43d9d70f436a42f055617df6abdf85972045476b /Command/Unannex.hs | |
parent | 7d9431ef1b0cff4eece3cd8fc03e429e391d724a (diff) |
The file matching options are now only accepted by commands that can actually use them.
Diffstat (limited to 'Command/Unannex.hs')
-rw-r--r-- | Command/Unannex.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Unannex.hs b/Command/Unannex.hs index a88b07c8b..3fe4cf69c 100644 --- a/Command/Unannex.hs +++ b/Command/Unannex.hs @@ -23,7 +23,8 @@ import Utility.CopyFile import Command.PreCommit (lockPreCommitHook) cmd :: [Command] -cmd = [command "unannex" paramPaths seek SectionUtility +cmd = [withOptions annexedMatchingOptions $ + command "unannex" paramPaths seek SectionUtility "undo accidential add command"] seek :: CommandSeek |