Add --include, which is the same as --not --exclude.

This commit is contained in:
Joey Hess 2011-12-22 13:53:06 -04:00
parent 30cf6ce81c
commit 6bffe509d7
6 changed files with 28 additions and 10 deletions

View file

@ -112,6 +112,8 @@ options = commonOptions ++
"terminate filename with null"
, Option ['x'] ["exclude"] (ReqArg Limit.addExclude paramGlob)
"skip files matching the glob pattern"
, Option ['I'] ["include"] (ReqArg Limit.addInclude paramGlob)
"don't skip files matching the glob pattern"
, Option ['i'] ["in"] (ReqArg Limit.addIn paramRemote)
"skip files not present in a remote"
, Option ['C'] ["copies"] (ReqArg Limit.addCopies paramNumber)