Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 894867 Details for
Bug 1096951
Unable to display usage information for perl example send.pl
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes a few problem displaying usage text
bz1096951.patch (text/plain), 738 bytes, created by
Ernie
on 2014-05-12 19:18:43 UTC
(
hide
)
Description:
Fixes a few problem displaying usage text
Filename:
MIME Type:
Creator:
Ernie
Created:
2014-05-12 19:18:43 UTC
Size:
738 bytes
patch
obsolete
>Index: examples/messenger/perl/send.pl >=================================================================== >--- examples/messenger/perl/send.pl (revision 1594043) >+++ examples/messenger/perl/send.pl (working copy) >@@ -34,11 +34,13 @@ > print "Options:\n"; > print "\t-s - the message subject\n"; > print "\t-C - the message content\n"; >- print "\t<ADDRESS> - amqp://<domain>[/<name>]"; >+ print "\t-h - display usage\n"; >+ print "\t<ADDRESS> - amqp://<domain>[/<name>]\n"; >+ exit(0); > } > > my %options = (); >-getopts("a:C:s:", \%options) or usage(); >+getopts("a:C:s:h:", \%options) or HELP_MESSAGE(); > > my $address = $options{a} || "amqp://0.0.0.0"; > my $subject = $options{s} || localtime(time);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1096951
:
894867
|
908269