diff options
Diffstat (limited to 'Command/Import.hs')
-rw-r--r-- | Command/Import.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Command/Import.hs b/Command/Import.hs index 6d872b1cb..49bf4b5c8 100644 --- a/Command/Import.hs +++ b/Command/Import.hs @@ -24,10 +24,11 @@ import Utility.InodeCache import Logs.Location cmd :: Command -cmd = withGlobalOptions (jobsOption : jsonOption : fileMatchingOptions) $ notBareRepo $ - command "import" SectionCommon - "move and add files from outside git working copy" - paramPaths (seek <$$> optParser) +cmd = notBareRepo $ + withGlobalOptions [jobsOption, jsonOptions, fileMatchingOptions] $ + command "import" SectionCommon + "move and add files from outside git working copy" + paramPaths (seek <$$> optParser) data DuplicateMode = Default | Duplicate | DeDuplicate | CleanDuplicates | SkipDuplicates | ReinjectDuplicates deriving (Eq) |