summaryrefslogtreecommitdiff
path: root/Options.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Options.hs')
-rw-r--r--Options.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Options.hs b/Options.hs
index 4cd62c222..10c3714e4 100644
--- a/Options.hs
+++ b/Options.hs
@@ -22,6 +22,8 @@ commonOptions :: [Option]
commonOptions =
[ Option ['f'] ["force"] (NoArg (setforce True))
"allow actions that may lose annexed data"
+ , Option ['F'] ["fast"] (NoArg (setfast True))
+ "avoid slow operations"
, Option ['q'] ["quiet"] (NoArg (setquiet True))
"avoid verbose output"
, Option ['v'] ["verbose"] (NoArg (setquiet False))
@@ -31,5 +33,6 @@ commonOptions =
]
where
setforce v = Annex.changeState $ \s -> s { Annex.force = v }
+ setfast v = Annex.changeState $ \s -> s { Annex.fast = v }
setquiet v = Annex.changeState $ \s -> s { Annex.quiet = v }
setdefaultbackend v = Annex.changeState $ \s -> s { Annex.defaultbackend = Just v }