summaryrefslogtreecommitdiff
path: root/Command/Import.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 11:54:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 11:56:38 -0400
commit12b375f583773fc33f9f379d13622cd1892860a4 (patch)
tree15f2cfbc5c9b8b6a4b97503f493cc46f1e46c64e /Command/Import.hs
parentafbce3349b3bd7a97377839892da4118b909068f (diff)
add, import: Support --json output.
Include added key in output.
Diffstat (limited to 'Command/Import.hs')
-rw-r--r--Command/Import.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Import.hs b/Command/Import.hs
index 7e8ce3b7a..4e9ff69dc 100644
--- a/Command/Import.hs
+++ b/Command/Import.hs
@@ -23,7 +23,7 @@ import Types.FileMatcher
import Annex.FileMatcher
cmd :: Command
-cmd = withGlobalOptions (jobsOption : fileMatchingOptions) $ notBareRepo $
+cmd = withGlobalOptions (jobsOption : jsonOption : fileMatchingOptions) $ notBareRepo $
command "import" SectionCommon
"move and add files from outside git working copy"
paramPaths (seek <$$> optParser)