add, import: Support --json output.
Include added key in output.
This commit is contained in:
parent
aae77b1856
commit
7b8e79c0f0
5 changed files with 15 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue