newrules.pl
Hi,
anytime if I use "newrules.pl --help" to get the syntax I receive a error message. The attached patch add the option "--help" to show the syntax to newrules.
Carsten
Index: newrules.pl
===================================================================
RCS file: /cvsroot/selinux/nsa/selinux/scripts/newrules.pl,v retrieving revision 1.1.1.2
newrules.pl +1 -0
@@ -24,6 +24,7 @@ elsif ($opt eq "-v") { $verbose++; } elsif ($opt eq "-i") { $input = shift @ARGV; } elsif ($opt eq "-o") { $output= shift @ARGV; } + elsif ($opt eq "--help") { &printUsage; } else { print "unknown option, '$opt'\n\n"; &printUsage; } }
Quoted 3 lines · Carsten Grohmann
anytime if I use "newrules.pl --help" to get the syntax I receive a error message. The attached patch add the option "--help" to show the syntax to newrules.
Thanks, merged.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.