Added --mimetype and --mimeencoding file matching options.
Already had these for largefiles matching, but I forgot to add them as command-line options.
This commit is contained in:
parent
133aba5729
commit
fda1bdd679
5 changed files with 75 additions and 7 deletions
|
@ -282,6 +282,16 @@ keyMatchingOptions' =
|
|||
<> help "match files accessed within a time interval"
|
||||
<> hidden
|
||||
)
|
||||
, globalSetter Limit.addMimeType $ strOption
|
||||
( long "mimetype" <> metavar paramGlob
|
||||
<> help "match files by mime type"
|
||||
<> hidden
|
||||
)
|
||||
, globalSetter Limit.addMimeEncoding $ strOption
|
||||
( long "mimeencoding" <> metavar paramGlob
|
||||
<> help "match files by mime encoding"
|
||||
<> hidden
|
||||
)
|
||||
]
|
||||
|
||||
-- Options to match files which may not yet be annexed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue