diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/AddUrl.hs | 2 | ||||
-rw-r--r-- | Command/Get.hs | 2 | ||||
-rw-r--r-- | Command/MetaData.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index be29cc228..3a6ee7560 100644 --- a/Command/AddUrl.hs +++ b/Command/AddUrl.hs @@ -31,7 +31,7 @@ import Annex.Quvi import qualified Utility.Quvi as Quvi cmd :: Command -cmd = notBareRepo $ withGlobalOptions [jobsOption, jsonOption] $ +cmd = notBareRepo $ withGlobalOptions [jobsOption, jsonOption, jsonProgressOption] $ command "addurl" SectionCommon "add urls to annex" (paramRepeating paramUrl) (seek <$$> optParser) diff --git a/Command/Get.hs b/Command/Get.hs index 70b877065..a0c7aff47 100644 --- a/Command/Get.hs +++ b/Command/Get.hs @@ -16,7 +16,7 @@ import Annex.Wanted import qualified Command.Move cmd :: Command -cmd = withGlobalOptions (jobsOption : jsonOption : annexedMatchingOptions) $ +cmd = withGlobalOptions (jobsOption : jsonOption : jsonProgressOption : annexedMatchingOptions) $ command "get" SectionCommon "make content of annexed files available" paramPaths (seek <$$> optParser) diff --git a/Command/MetaData.hs b/Command/MetaData.hs index bf71f7b4f..6e64207c8 100644 --- a/Command/MetaData.hs +++ b/Command/MetaData.hs @@ -79,7 +79,7 @@ seek o = do (seeker $ whenAnnexed $ start now o) (forFiles o) Batch -> withMessageState $ \s -> case outputType s of - JSONOutput -> batchInput parseJSONInput $ + JSONOutput _ -> batchInput parseJSONInput $ commandAction . startBatch now _ -> error "--batch is currently only supported in --json mode" |