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

-h HOSTオプションが利用できない #41

Closed
yuki-teraoka opened this issue Apr 12, 2018 · 2 comments
Closed

-h HOSTオプションが利用できない #41

yuki-teraoka opened this issue Apr 12, 2018 · 2 comments
Assignees
Labels

Comments

@yuki-teraoka
Copy link

英語不得意なので日本語で失礼します。

helpでは-h HOSTオプションが利用できるように見えるが、指定するとhelpが表示されてしまいます。
hostとhelpのオプションがコンフリクトしているためかと思われます。

evans -h
evans 0.2.8
Usage: evans [--interactive] [--editconfig] [--host HOST] [--port PORT] [--package PACKAGE] [--service SERVICE] [--call CALL] [--file FILE] [--path PATH] [--header HEADER] [PROTO [PROTO ...]]

Positional arguments:
  PROTO                  .proto files

Options:
  --interactive, -i      use interactive mode
  --editconfig, -e       edit config file by $EDITOR
  --host HOST, -h HOST   gRPC host
  --port PORT, -p PORT   gRPC port [default: 50051]
  --package PACKAGE      default package
  --service SERVICE      default service. evans parse package from this if --package is nothing.
  --call CALL, -c CALL   call specified RPC
  --file FILE, -f FILE   the script file which will be executed (used only command-line mode)
  --path PATH            proto file path
  --header HEADER        headers set to each requests
  --help, -h             display this help and exit
  --version              display version and exit
@ktr0731
Copy link
Owner

ktr0731 commented Apr 12, 2018

Issue 報告ありがとうございます!
確かに -h オプションを --host として使うことはできませんね…。
修正したいと思います 👍

@ktr0731 ktr0731 self-assigned this Apr 12, 2018
@ktr0731 ktr0731 added the bug label Apr 12, 2018
@ktr0731
Copy link
Owner

ktr0731 commented Apr 24, 2018

#44 にて修正したので close します

@ktr0731 ktr0731 closed this as completed Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants