Open csabahenk opened 11 years ago
$ echo '{}' | underscore print --outfmt '?' Unrecognized output format: '?'. See 'help formats', or select from ['json', 'dense', 'stringify', 'pretty', 'inspect', 'text', 'msgpack', 'msgpack.print']
Hmm, OK, so let's see what help formats gives.
$ underscore help formats > /tmp/uhelpfmtout 2>&1
then also:
$ underscore > /tmp/uplainout 2>&1
See:
--- /tmp/uplainout 2013-09-11 10:31:52.818761336 +0200 +++ /tmp/uhelpfmtout 2013-09-11 10:31:41.951850415 +0200 @@ -1,3 +1,4 @@ +Unknown command: formats Usage: underscore <command> [--in <filename>|--data <JSON>|--nodata] [--infmt <format>] [--out <filename>] [--outfmt <format>] [--quiet] [--strict] [--color] [--text] [--trace] [--coffee] [--js]
So: help does not seem to know about formats, just bails out to general usage information.
duplicate of #20
Theses issues are about same subject :
Hmm, OK, so let's see what help formats gives.
then also:
See:
So: help does not seem to know about formats, just bails out to general usage information.