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.
This commit is contained in:
parent
fa65f1d240
commit
6583448bab
46 changed files with 164 additions and 69 deletions
|
@ -12,7 +12,7 @@ import qualified Command.Find as Find
|
|||
import qualified Git
|
||||
|
||||
cmd :: Command
|
||||
cmd = withGlobalOptions nonWorkTreeMatchingOptions $ Find.mkCommand $
|
||||
cmd = withGlobalOptions [nonWorkTreeMatchingOptions] $ Find.mkCommand $
|
||||
command "findref" SectionPlumbing
|
||||
"lists files in a git ref"
|
||||
paramRef (seek <$$> Find.optParser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue