summaryrefslogtreecommitdiff
path: root/CmdLine/Option.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CmdLine/Option.hs')
-rw-r--r--CmdLine/Option.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/CmdLine/Option.hs b/CmdLine/Option.hs
index 9cb1d41d4..d28c7a704 100644
--- a/CmdLine/Option.hs
+++ b/CmdLine/Option.hs
@@ -25,8 +25,8 @@ import Types.Messages
import Types.DeferredParse
-- Global options accepted by both git-annex and git-annex-shell sub-commands.
-commonGlobalOptions :: Parser GlobalSetter
-commonGlobalOptions = globalSetters
+commonGlobalOptions :: [Parser GlobalSetter]
+commonGlobalOptions =
[ globalFlag (setforce True)
( long "force"
<> help "allow actions that may lose annexed data"