Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing help for formats #22

Open
csabahenk opened this issue Sep 11, 2013 · 2 comments
Open

missing help for formats #22

csabahenk opened this issue Sep 11, 2013 · 2 comments

Comments

@csabahenk
Copy link

$ 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.

@richlv
Copy link

richlv commented Jul 28, 2014

duplicate of #20

@cClaude
Copy link

cClaude commented Sep 28, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants