Added --expected-present file matching option

This commit is contained in:
Joey Hess 2024-01-25 12:56:41 -04:00
parent 1d17e4ee16
commit b9e147d282
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 44 additions and 3 deletions

View file

@ -293,7 +293,7 @@ keyMatchingOptions' :: [AnnexOption]
keyMatchingOptions' =
[ annexOption (setAnnexState . Limit.addIn) $ strOption
( long "in" <> short 'i' <> metavar paramRemote
<> help "match files present in a remote"
<> help "match files present in a repository"
<> hidden
<> completeRemotes
)
@ -386,6 +386,11 @@ keyMatchingOptions' =
<> help "match files that are locked"
<> hidden
)
, annexFlag (setAnnexState Limit.addExpectedPresent)
( long "expected-present"
<> help "match files expected to be present"
<> hidden
)
]
-- Options to match files which may not yet be annexed.