Author: adam-guest
Date: 2008-06-24 20:12:37 +0000 (Tue, 24 Jun 2008)
New Revision: 1526

Modified:
   trunk/scripts/rc-alert.1
   trunk/scripts/rc-alert.pl
Log:
Use less sucky option names

Modified: trunk/scripts/rc-alert.1
===================================================================
--- trunk/scripts/rc-alert.1    2008-06-24 20:00:02 UTC (rev 1525)
+++ trunk/scripts/rc-alert.1    2008-06-24 20:12:37 UTC (rev 1526)
@@ -29,52 +29,51 @@
 tags and distributions associated with the package. The filtering options
 are:
 .TP
-.BR \-\-includetags ", " \-f
+.BR \-\-include\-tags ", " \-f
 A list of tags which the bug must have, in the format used for output.
 For example, to include bugs tagged security or help wanted, use "SH".
 .TP
-.BR \-\-includetagop ", " \-t
+.BR \-\-include\-tag\-op ", " \-t
 If set to \fIand\fP, a bug must have all of the tags specified by
 \fB\-\-includetags\fP.
 .TP
-.BR \-\-excludetags
+.BR \-\-exclude\-tags
 A list of tags which the bug must not have, in the same format as
 \fB\-\-includetags\fP.
 .TP
-.BR \-\-excludetagop
+.BR \-\-exclude\-tag\-op
 If set to \fIand\fP, a bug must have none of the tags specified by
 \fB\-\-excludetags\fP.  By default, the bug will be excluded if any tag
 matches.
 .TP
-.BR \-\-includedists ", " \-d
+.BR \-\-include\-dists ", " \-d
 A list of distributions which the bug must apply to, in the format used for
 output.  For example, to include bugs affecting testing or unstable, use "TU".
 .TP
-.BR \-\-includedistop ", " \-o
+.BR \-\-include\-dist\-op ", " \-o
 If set to \fIand\fP, a bug must apply to all of the specified distributions in
 order to be included.
 .TP
-.BR \-\-excludedists
+.BR \-\-exclude\-dists
 A list of distributions to which the bug must not apply, in the same format as
 \fB\-\-includedists\fP.
 .TP
-.BR \-\-excludedistop
+.BR \-\-exclude\-dist\-op
 If set to \fIand\fP, a bug must apply to all of the specified distributions
 in order to be excluded.  By default the bug will be excluded if it applies
 to any of the listed distributions.
 .SH EXAMPLES
 .TP
-.BR \-\-includedists " OS"
+.BR \-\-include\-dists " OS"
 The bug must apply to at least one of oldstable or stable
 .TP
-.BR \-\-includedists " TU" " \-\-includedistop" " and"
+.BR \-\-include\-dists " TU" " \-\-include\-dist\-op" " and"
 The bug must apply to both testing and unstable
 .TP
-.BR \-\-includedists " OS" " \-\-includetags" " S" " \-\-excludetags" " +"
-The bug must apply to either oldstable or stable (or both) and be tagged
-security but not patch
+.BR \-\-include\-dists " O" " \-\-include\-tags" " S" " \-\-exclude\-tags" " +"
+The bug must apply to oldstable and be tagged security but not patch
 .TP
-.BR \-\-excludedists " SOT" " \-\-includetags" " R"
+.BR \-\-exclude\-dists " SOT" " \-\-include\-tags" " R"
 The bug must apply to only unstable or experimental (or both) and be tagged
 unreproducible
 .SH BUGS

Modified: trunk/scripts/rc-alert.pl
===================================================================
--- trunk/scripts/rc-alert.pl   2008-06-24 20:00:02 UTC (rev 1525)
+++ trunk/scripts/rc-alert.pl   2008-06-24 20:12:37 UTC (rev 1526)
@@ -72,17 +72,17 @@
   release-critical bugs list.
 
   Options:
-  --cache          Create ~/.devscripts_cache directory if it does not exist
+  --cache           Create ~/.devscripts_cache directory if it does not exist
 
   Matching options: (see the manpage for further information)
-  --includetags    Set of tags to include
-  --includetagop   Must all tags match for inclusion?
-  --excludetags    Set of tags to exclude
-  --excludetagop   Must all tags match for exclusion?
-  --includedists   Set of distributions to include
-  --includedistop  Must all distributions be matched for inclusion?
-  --excludedists   Set of distributions to exclude
-  --excludedistop  Must all distributions be matched for exclusion?
+  --include-tags    Set of tags to include
+  --include-tag-op  Must all tags match for inclusion?
+  --exclude-tags    Set of tags to exclude
+  --exclude-tag-op  Must all tags match for exclusion?
+  --include-dists   Set of distributions to include
+  --include-dist-o  Must all distributions be matched for inclusion?
+  --exclude-dists   Set of distributions to exclude
+  --exclude-dist-o  Must all distributions be matched for exclusion?
 EOF
 
 my $version = <<"EOF";
@@ -103,14 +103,14 @@
 GetOptions("help|h" => \$opt_help,
           "version|v" => \$opt_version,
           "cache" => \$forcecache,
-          "includetags|f=s" => \$includetags,
-          "excludetags=s" => \$excludetags,
-          "includetagop|t=s" => \$tagincoperation,
-          "excludetagop=s" => \$tagexcoperation,
-          "includedists|d=s" => \$includedists,
-          "excludedists=s" => \$excludedists,
-          "includedistop|o=s" => \$distincoperation,
-          "excludedistop=s" => \$distexcoperation,
+          "include-tags|f=s" => \$includetags,
+          "exclude-tags=s" => \$excludetags,
+          "include-tag-op|t=s" => \$tagincoperation,
+          "exclude-tag-op=s" => \$tagexcoperation,
+          "include-dists|d=s" => \$includedists,
+          "exclude-dists=s" => \$excludedists,
+          "include-dist-op|o=s" => \$distincoperation,
+          "exclude-dist-op=s" => \$distexcoperation,
           );
 
 if ($opt_help) { print $usage; exit 0; }



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to