Red Hat Bugzilla – Bug 1022411
Show correct error for unknown task in "bkr task-details"
Last modified: 2018-02-05 19:41:31 EST
Description of problem:
1. Usage message
[root@jasontest ~]# bkr task-details -h
Usage: bkr task-details [options] ...
It should be the same with the output "man bkr-task-details".
Usage: bkr task-details [options] <task>...
2. Using wrong task, it will show "No row was found for one()"
I'd rather it show "Can't find the task " or something else.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Restricting this to just providing a better error message when the task is missing. The differences between the short command line help text and the full man page for Beaker client commands is generally deliberate.
As per comment 2 : http://gerrit.beaker-project.org/#/c/3061/
This bug fix has been applied to the release-0.16 branch, however we have elected not to do another maintenance release of the 0.16.x series. This fix will be included in 0.17.0 instead.
Beaker 0.17.0 has been released.