From ec1e50642b62fa3dcf5a2c9f7fd582e403c17627 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 Feb 2018 14:28:17 -0400 Subject: add --json-error-messages (not yet implemented) Added --json-error-messages option, which includes error messages in the json output, rather than outputting them to stderr. The actual rediretion of errors is not implemented yet, this is only the docs and option plumbing. This commit was supported by the NSF-funded DataLad project. --- Command/MetaData.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/MetaData.hs') diff --git a/Command/MetaData.hs b/Command/MetaData.hs index 9fba1097a..ef3f1da9a 100644 --- a/Command/MetaData.hs +++ b/Command/MetaData.hs @@ -23,7 +23,7 @@ import Data.Aeson import Control.Concurrent cmd :: Command -cmd = withGlobalOptions ([jsonOption] ++ annexedMatchingOptions) $ +cmd = withGlobalOptions [jsonOptions, annexedMatchingOptions] $ command "metadata" SectionMetaData "sets or gets metadata of a file" paramPaths (seek <$$> optParser) -- cgit v1.2.3