diff options
author | 2015-02-06 17:08:14 -0400 | |
---|---|---|
committer | 2015-02-06 17:16:41 -0400 | |
commit | 0cb5a870007c8299f8788962bd7dfc0848794dc0 (patch) | |
tree | 43d9d70f436a42f055617df6abdf85972045476b /Command/FindRef.hs | |
parent | 7d9431ef1b0cff4eece3cd8fc03e429e391d724a (diff) |
The file matching options are now only accepted by commands that can actually use them.
Diffstat (limited to 'Command/FindRef.hs')
-rw-r--r-- | Command/FindRef.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/FindRef.hs b/Command/FindRef.hs index 2e3d859fa..e7f7eae6d 100644 --- a/Command/FindRef.hs +++ b/Command/FindRef.hs @@ -11,8 +11,9 @@ import Command import qualified Command.Find as Find cmd :: [Command] -cmd = [Find.mkCommand $ command "findref" paramRef seek SectionPlumbing - "lists files in a git ref"] +cmd = [withOptions nonWorkTreeMatchingOptions $ Find.mkCommand $ + command "findref" paramRef seek SectionPlumbing + "lists files in a git ref"] seek :: CommandSeek seek refs = do |