diff --git a/CmdLine/GitAnnex/Options.hs b/CmdLine/GitAnnex/Options.hs index d404b211ac..db2efeda56 100644 --- a/CmdLine/GitAnnex/Options.hs +++ b/CmdLine/GitAnnex/Options.hs @@ -153,7 +153,7 @@ parseKeyOptions allowincomplete = if allowincomplete else base where base = parseAllOption - <|> WantBranchKeys <$> many (option (str >>= pure . Ref) + <|> WantBranchKeys <$> some (option (str >>= pure . Ref) ( long "branch" <> metavar paramRef <> help "operate on files in the specified branch or treeish" ))