diff options
Diffstat (limited to 'Command/Add.hs')
-rw-r--r-- | Command/Add.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Command/Add.hs b/Command/Add.hs index 638da101e..10148ad50 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -22,9 +22,10 @@ import Annex.Version import Git.FilePath cmd :: Command -cmd = notBareRepo $ withGlobalOptions (jobsOption : jsonOption : fileMatchingOptions) $ - command "add" SectionCommon "add files to annex" - paramPaths (seek <$$> optParser) +cmd = notBareRepo $ + withGlobalOptions [jobsOption, jsonOptions, fileMatchingOptions] $ + command "add" SectionCommon "add files to annex" + paramPaths (seek <$$> optParser) data AddOptions = AddOptions { addThese :: CmdParams |