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
|
@ -24,8 +24,9 @@ import qualified Annex
|
|||
import Git.Types (RemoteName)
|
||||
|
||||
cmd :: [Command]
|
||||
cmd = [noCommit $ withOptions [allrepos] $ command "list" paramPaths seek
|
||||
SectionQuery "show which remotes contain files"]
|
||||
cmd = [noCommit $ withOptions (allrepos : annexedMatchingOptions) $
|
||||
command "list" paramPaths seek
|
||||
SectionQuery "show which remotes contain files"]
|
||||
|
||||
allrepos :: Option
|
||||
allrepos = flagOption [] "allrepos" "show all repositories, not only remotes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue