Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

bblfsh-cli --help gives help message two times #92

Closed
zurk opened this issue Oct 8, 2018 · 0 comments
Closed

bblfsh-cli --help gives help message two times #92

zurk opened this issue Oct 8, 2018 · 0 comments
Assignees
Labels
empathy-sessions Issue filed as as part of empathy sessions

Comments

@zurk
Copy link

zurk commented Oct 8, 2018

➜  ~ go get -u gopkg.in/bblfsh/client-go.v3/...
➜  ~ bblfsh-cli --help
Usage:
  bblfsh-cli [OPTIONS]

Application Options:
  -a, --host=     Babelfish endpoint address (default: localhost:9432)
  -l, --language= language to parse (default: auto)
  -q, --query=    XPath query applied to the resulting UAST
  -m, --mode=     UAST transformation mode: semantic, annotated, native
  -o, --out=      Output format: yaml, json, bin (default: yaml)

Help Options:
  -h, --help      Show this help message

couldn't parse flags: Usage:
  bblfsh-cli [OPTIONS]

Application Options:
  -a, --host=     Babelfish endpoint address (default: localhost:9432)
  -l, --language= language to parse (default: auto)
  -q, --query=    XPath query applied to the resulting UAST
  -m, --mode=     UAST transformation mode: semantic, annotated, native
  -o, --out=      Output format: yaml, json, bin (default: yaml)

Help Options:
  -h, --help      Show this help message

I expect to see

➜  ~ go get -u gopkg.in/bblfsh/client-go.v3/...
➜  ~ bblfsh-cli --help
Usage:
  bblfsh-cli [OPTIONS]

Application Options:
  -a, --host=     Babelfish endpoint address (default: localhost:9432)
  -l, --language= language to parse (default: auto)
  -q, --query=    XPath query applied to the resulting UAST
  -m, --mode=     UAST transformation mode: semantic, annotated, native
  -o, --out=      Output format: yaml, json, bin (default: yaml)

Help Options:
  -h, --help      Show this help message
dennwc pushed a commit to dennwc/go-client that referenced this issue Oct 9, 2018
Signed-off-by: Denys Smirnov <denys@sourced.tech>
@dennwc dennwc self-assigned this Oct 9, 2018
@dennwc dennwc closed this as completed in #95 Oct 9, 2018
dennwc pushed a commit that referenced this issue Oct 9, 2018
Signed-off-by: Denys Smirnov <denys@sourced.tech>
@smola smola added the empathy-sessions Issue filed as as part of empathy sessions label Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
empathy-sessions Issue filed as as part of empathy sessions
Projects
None yet
Development

No branches or pull requests

3 participants