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

In case of error it shouldn't return help message. #1

Open
praveenkumar opened this issue Jun 8, 2018 · 0 comments
Open

In case of error it shouldn't return help message. #1

praveenkumar opened this issue Jun 8, 2018 · 0 comments

Comments

@praveenkumar
Copy link
Owner

As of now each time there is an error occur then it also return help message which shouldn't be the case.

✗ ./out/gopodman ping                               
NAME:
   gopodman - podman go client

USAGE:
   gopodman [global options] command [command options] [arguments...]

VERSION:
   0.0.1

COMMANDS:
     ping           display podman status
     podmanVersion  display podman version info
     images         List images in local storage
     help, h        Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --podman-varlink-uri value  Podman varlink URI (ex: tcp:127.0.0.1:12345)
   --help, -h                  show help
   --version, -v               print the version
dial tcp 192.168.99.101:12345: connect: operation timed out => this is only what make sense not the whole help message.

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

1 participant