diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-18 20:14:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-18 20:14:18 -0400 |
commit | 1fc3ee24232059ae05ab18ed10bf151f86847ac1 (patch) | |
tree | 7cbfe5536143e09752e97da43d619b948fdeacc3 /GitAnnex.hs | |
parent | dd463a3100f21d72c35ca1af5b0f63f6296cf322 (diff) |
add --in limit
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index 68c7a1805..bcb30ff41 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -108,8 +108,10 @@ options = commonOptions ++ "override trust setting to untrusted" , Option ['c'] ["config"] (ReqArg setgitconfig "NAME=VALUE") "override git configuration setting" - , Option ['x'] ["exclude"] (ReqArg (Limit.exclude) paramGlob) + , Option ['x'] ["exclude"] (ReqArg (Limit.addExclude) paramGlob) "skip files matching the glob pattern" + , Option ['i'] ["in"] (ReqArg (Limit.addIn) paramRemote) + "skip files not present in a remote" ] ++ matcherOptions where setto v = Annex.changeState $ \s -> s { Annex.toremote = Just v } |