summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index 5cfdabb4e..ab4d8e25e 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -14,9 +14,9 @@ import qualified Remote
import Annex.Wanted
import Annex.NumCopies
-cmd :: [Command]
-cmd = [withOptions copyOptions $ command "copy" paramPaths seek
- SectionCommon "copy content of files to/from another repository"]
+cmd :: Command
+cmd = withOptions copyOptions $ command "copy" paramPaths seek
+ SectionCommon "copy content of files to/from another repository"
copyOptions :: [Option]
copyOptions = Command.Move.moveOptions ++ [autoOption]