Author: jamessan
Date: 2008-06-26 18:15:17 +0000 (Thu, 26 Jun 2008)
New Revision: 1531

Modified:
   trunk/debian/changelog
   trunk/scripts/who-uploads.1
   trunk/scripts/who-uploads.sh
Log:
who-uploads: Accept -M as a short form for --max-uploads

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-06-25 20:39:06 UTC (rev 1530)
+++ trunk/debian/changelog      2008-06-26 18:15:17 UTC (rev 1531)
@@ -48,6 +48,7 @@
     + Actually include the documented 'severity' key for the select
       function.
     + Fix some whitespace.
+  * who-uploads: Accept -M as a short form for --max-uploads
 
  -- Adam D. Barratt <[EMAIL PROTECTED]>  Mon, 16 Jun 2008 20:52:22 +0100
 

Modified: trunk/scripts/who-uploads.1
===================================================================
--- trunk/scripts/who-uploads.1 2008-06-25 20:39:06 UTC (rev 1530)
+++ trunk/scripts/who-uploads.1 2008-06-26 18:15:17 UTC (rev 1531)
@@ -14,7 +14,7 @@
 source package names, not the binary package names.
 .SH OPTIONS
 .TP
-\fB\-\-max\-uploads=\fIN\fR
+\fB\-M\fR, \fB\-\-max\-uploads=\fIN\fR
 Specify the maximum number of uploads to display for each package; the
 default is 3.  Note that you may not see this many uploads if there
 are not this many recorded in the PTS.

Modified: trunk/scripts/who-uploads.sh
===================================================================
--- trunk/scripts/who-uploads.sh        2008-06-25 20:39:06 UTC (rev 1530)
+++ trunk/scripts/who-uploads.sh        2008-06-26 18:15:17 UTC (rev 1531)
@@ -32,7 +32,8 @@
   Packages should be source packages, not binary packages.
 
   Options:
-    --max-uploads=N   Display at most the N most recent uploads (default: 3)
+    -M, --max-uploads=N
+                      Display at most the N most recent uploads (default: 3)
     --keyring KEYRING Add KEYRING as a GPG keyring for Debian Developers'
                       keys in addition to /usr/share/keyrings/debian-keyring.*
                       and /usr/share/keyrings/debian-maintainers.gpg;
@@ -146,7 +147,9 @@
        --long max-uploads:,keyring:,no-default-keyrings \
        --long no-conf,noconf \
        --long date,nodate,no-date \
-       --long help,version -n "$PROGNAME" -- "$@")
+       --long help,version \
+       --options M: \
+       -n "$PROGNAME" -- "$@")
 if [ $? != 0 ] ; then exit 1 ; fi
 
 eval set -- $TEMP
@@ -154,7 +157,7 @@
 # Process Parameters
 while [ "$1" ]; do
     case $1 in
-    --max-uploads)
+    --max-uploads|-M)
        shift
        if [ "$1" = "$(echo \"$1\" | tr -cd 0-9)" ]; then
            MAXUPLOADS=$1



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

Reply via email to