summaryrefslogtreecommitdiff
path: root/GitAnnex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-03 13:02:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-03 13:12:53 -0400
commite5eeb401d1743372102ec4064b6f87453fdc8597 (patch)
treee514cd35000d83fe79c58f687ca32cc96f726072 /GitAnnex
parent2850dd6ad6aeb37e03d0746c10dfeb453a5e2aad (diff)
Add --all option, and support it for fsck
Diffstat (limited to 'GitAnnex')
-rw-r--r--GitAnnex/Options.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/GitAnnex/Options.hs b/GitAnnex/Options.hs
index 7710c2ff2..350e54513 100644
--- a/GitAnnex/Options.hs
+++ b/GitAnnex/Options.hs
@@ -58,3 +58,7 @@ options = Option.common ++
setgitconfig v = Annex.changeGitRepo =<< inRepo (Git.Config.store v)
trustArg t = ReqArg (Remote.forceTrust t) paramRemote
+
+allOption :: Option
+allOption = Option ['A'] ["all"] (NoArg (Annex.setFlag "all"))
+ "operate on all versions of all files"