diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-13 14:25:30 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-13 14:25:30 -0400 |
commit | c747c8e423afe272dcf045abf3f1e8c1f6985e5c (patch) | |
tree | 2521170766eeee800de45895cd1df6bb73d3afcd /Command | |
parent | 0271693312df2134693562396bd6dd77b32c5e63 (diff) |
addurl: Support --json, particularly useful in --batch mode.
Diffstat (limited to 'Command')
-rw-r--r-- | Command/AddUrl.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index 746a6725c..516d50a75 100644 --- a/Command/AddUrl.hs +++ b/Command/AddUrl.hs @@ -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) |