Description of problem: Attempting to display usage information for send.pl display an error message Version-Release number of selected component (if applicable): proton-0.7 perl bindings How reproducible: 100% Steps to Reproduce: source config.sh cd examples/messenger/perl ./send.pl -h Actual results: Unknown option: h Undefined subroutine &main::usage called at ./send.pl line 41. Expected results: Two released issues here: 1. the -h option is not supported 2. when an unknown option is supplied an error "Undefined subroutine ..." is displayed Additional info:
Created attachment 894867 [details] Fixes a few problem displaying usage text - Adds -h option - Exits after usage is displayed - Calls correct usage subroutine - Adds newline after last usage line
Does this have a jira?
(In reply to Justin Ross from comment #2) > Does this have a jira? I've created PROTON-604.
This is fixed upstream in the following commit: https://svn.apache.org/viewvc?view=revision&revision=r1602276 I've also attached the patch to this BZ.
Created attachment 908269 [details] Patch that fixes the -h issue and exits when help is shown.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions