All commands that support --all also support a --key option, which limits them to acting on a single key.
This commit is contained in:
parent
85398d068e
commit
ec7443eb06
4 changed files with 26 additions and 13 deletions
|
@ -81,6 +81,8 @@ keyOptions =
|
|||
"operate on all versions of all files"
|
||||
, Option ['U'] ["unused"] (NoArg (Annex.setFlag "unused"))
|
||||
"operate on files found by last run of git-annex unused"
|
||||
, Option [] ["key"] (ReqArg (Annex.setField "key") paramKey)
|
||||
"operate on specified key"
|
||||
]
|
||||
|
||||
fromOption :: Option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue