add, import: Support --json output.

Include added key in output.
This commit is contained in:
Joey Hess 2016-01-19 11:54:13 -04:00
parent aae77b1856
commit 7b8e79c0f0
Failed to extract signature
5 changed files with 15 additions and 2 deletions

View file

@ -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)