diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-03 13:02:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-03 13:12:53 -0400 |
commit | e5eeb401d1743372102ec4064b6f87453fdc8597 (patch) | |
tree | e514cd35000d83fe79c58f687ca32cc96f726072 /GitAnnex/Options.hs | |
parent | 2850dd6ad6aeb37e03d0746c10dfeb453a5e2aad (diff) |
Add --all option, and support it for fsck
Diffstat (limited to 'GitAnnex/Options.hs')
-rw-r--r-- | GitAnnex/Options.hs | 4 |
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" |