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
|
@ -19,7 +19,8 @@ cmd =
|
|||
, c "edit" "same as unlock"
|
||||
]
|
||||
where
|
||||
c n = notDirect . command n paramPaths seek SectionCommon
|
||||
c n = notDirect . withOptions annexedMatchingOptions
|
||||
. command n paramPaths seek SectionCommon
|
||||
|
||||
seek :: CommandSeek
|
||||
seek = withFilesInGit $ whenAnnexed start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue