diff options
Diffstat (limited to 'Command/MetaData.hs')
-rw-r--r-- | Command/MetaData.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/MetaData.hs b/Command/MetaData.hs index e3cf921cb..bf71f7b4f 100644 --- a/Command/MetaData.hs +++ b/Command/MetaData.hs @@ -78,7 +78,7 @@ seek o = do (startKeys now o) (seeker $ whenAnnexed $ start now o) (forFiles o) - Batch -> withOutputType $ \ot -> case ot of + Batch -> withMessageState $ \s -> case outputType s of JSONOutput -> batchInput parseJSONInput $ commandAction . startBatch now _ -> error "--batch is currently only supported in --json mode" |