addurl: Support --json, particularly useful in --batch mode.
This commit is contained in:
parent
ecd0684bfc
commit
1d5b70db9c
4 changed files with 10 additions and 1 deletions
|
@ -41,7 +41,7 @@ import qualified Utility.Quvi as Quvi
|
|||
#endif
|
||||
|
||||
cmd :: Command
|
||||
cmd = notBareRepo $ withGlobalOptions [jobsOption] $
|
||||
cmd = notBareRepo $ withGlobalOptions [jobsOption, jsonOption] $
|
||||
command "addurl" SectionCommon "add urls to annex"
|
||||
(paramRepeating paramUrl) (seek <$$> optParser)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue