The file matching options are now only accepted by commands that can actually use them.
This commit is contained in:
parent
52424dc382
commit
8066a1c3cc
24 changed files with 118 additions and 77 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue