Bug #19253
closedhammer: `... job-invocation info -h` says "--name" is a possible option, but it returns "Error: 400 Bad Request"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1440976
Description of problem:
`... job-invocation info -h` says "--name" is a possible option, but it returns "Error: 400 Bad Request"
Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli-0.5.1.13-2.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.5.3-1.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. Have job with description "rex-template-date.sh at 2017-04-10"
2. Check help for "job-invocation info" sub command:
# hammer -d --username <user> --password <pass> job-invocation info --help
3. Try to use "--name":
# hammer --username <admin> --password <pass> job-invocation info --name "rex-template-date.sh at 2017-04-10"
Actual results:
Error: 400 Bad Request
Expected results:
Either should work (and maybe "--name" should be renamed to "--description", or it should provide helpful error message.