diff options
author | Joey Hess <joey@kitenet.net> | 2011-05-18 19:34:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-05-18 19:34:46 -0400 |
commit | cd8354187273ee07c8953bea72df2d60b8b50c5d (patch) | |
tree | e8b2306baa392c1cb0f399a413d3fd0ce85872de /Options.hs | |
parent | dd44e53c0ca3e5eec78f03a3a222b4922d6d097c (diff) |
--backend now overrides any backend configured in .gitattributes files.
Diffstat (limited to 'Options.hs')
-rw-r--r-- | Options.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Options.hs b/Options.hs index 31b73e25a..ae5707e4a 100644 --- a/Options.hs +++ b/Options.hs @@ -28,11 +28,11 @@ commonOptions = "avoid verbose output" , Option ['v'] ["verbose"] (NoArg (setquiet False)) "allow verbose output" - , Option ['b'] ["backend"] (ReqArg setdefaultbackend paramName) - "specify default key-value backend to use" + , Option ['b'] ["backend"] (ReqArg setforcebackend paramName) + "specify key-value backend to use" ] 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 } + setforcebackend v = Annex.changeState $ \s -> s { Annex.forcebackend = Just v } |