summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-08 13:39:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-08 13:39:18 -0400
commit1ccd0ed1e6541534626673dc5dbdd97c9ab9ca49 (patch)
treed640f8081735fc7eb3a81fae4c93df85ddc366c5 /GitAnnex.hs
parent45d50d8c27207fa09e5d3331683e1510df3f3bdd (diff)
Added --smallerthan and --largerthan limits
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index be5af113d..80a151136 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -147,6 +147,10 @@ options = Option.common ++
"skip files with fewer copies"
, Option ['B'] ["inbackend"] (ReqArg Limit.addInBackend paramName)
"skip files not using a key-value backend"
+ , Option [] ["largerthan"] (ReqArg Limit.addLargerThan paramName)
+ "skip files larger than a size"
+ , Option [] ["smallerthan"] (ReqArg Limit.addSmallerThan paramName)
+ "skip files smaller than a size"
, Option ['T'] ["time-limit"] (ReqArg Limit.addTimeLimit paramTime)
"stop after the specified amount of time"
] ++ Option.matcher