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

--help* options return error code. #4

Closed
jameskyle opened this issue Jan 21, 2015 · 2 comments
Closed

--help* options return error code. #4

jameskyle opened this issue Jan 21, 2015 · 2 comments
Assignees

Comments

@jameskyle
Copy link

When executing any of the --help commands, wsman outputs the help text but then returns an error code.

wsman --help
Usage:
  wsman [Option...] <action> <Resource Uri>

Help Options
  -?, --help
  --help-all                                      Show help options
  --help-enumeration                              Enumeration Options
  --help-tests                                    Test Cases
  --help-cim                                      CIM Options
  --help-flags                                    Request Flags
  --help-event                                    Subscription Options

Application Options
  --non-interactive                               Non interactive mode, don't ask for credentials
  -q, --version                                   Display application version
  -d, --debug=1-6                                 Set the verbosity of debugging output.
  -j, --encoding                                  Set request message encoding
  -c, --cacert=<filename>                         Certificate file to verify the peer
  -A, --cert=<filename>                           Certificate file. The certificate must be in PEM format.
  -K, --sslkey=<key>                              SSL Key.
  -u, --username=<username>                       User name
  -g, --path=<path>                               Service Path (default: 'wsman')
  -J, --input=<filename>                          File with resource for Create and Put operations in XML, can be a SOAP envelope
  -p, --password=<password>                       User Password
  -h, --hostname=<hostname>                       Host name
  -b, --endpoint=<url>                            End point
  -P, --port=<port>                               Server Port
  -X, --proxy=<proxy>                             Proxy name
  -Y, --proxyauth=<proxyauth>                     Proxy user:pwd
  -y, --auth=<basic|digest|gss>                   Authentication Method
  -a, --method=<custom method>                    Method (Works only with 'invoke')
  -k, --prop=<key=val>                            Properties with key value pairs (For 'put', 'invoke' and 'create')
  -C, --config-file=<file>                        Alternate configuration file
  -O, --out-file=<file>                           Write output to file
  -V, --noverifypeer                              Not to verify peer certificate
  -v, --noverifyhost                              Not to verify hostname
  -I, --transport-timeout=<time in sec>           Transport timeout in seconds

Unknown option --help


jkyle at metaverse in ~/Projects/Ruby/homebrew/Library/Formula (wsmancli)
$ echo $?
1
@kkaempf kkaempf self-assigned this Jan 22, 2015
kkaempf added a commit that referenced this issue Jan 22, 2015
This, together with commit 0b6cd394 of OpenWSMAN, closes issue #4
@kkaempf
Copy link
Collaborator

kkaempf commented Jan 22, 2015

Fix needs update of OpenWSMAN as well as update of wsmancli

@jameskyle
Copy link
Author

@kkaempf thank you for the quick turn around.

This issue was closed.
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

2 participants