Package: devscripts
Version: 2.10.53
Severity: wishlist

The following patch updates usage() to list options in alphabetical order.

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.3.1   Debian package development tools
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  perl                          5.10.0-25  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                 3.1.11-1              Delayed job execution and batch pr
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  bzr                1.17-1                easy to use distributed version co
ii  curl               7.19.5-1              Get a file from an HTTP, HTTPS or 
ii  cvs                1:1.12.13-12          Concurrent Versions System
ii  dctrl-tools        2.13.1                Command-line tools to process Debi
ii  debian-keyring     2009.05.28            GnuPG (and obsolete PGP) keys of D
ii  debian-maintainers 1.64                  GPG keys of Debian maintainers
ii  dillo [www-browser 2.0-1                 Small and fast web browser
ii  dput               0.9.4                 Debian package upload tool
ii  elinks [www-browse 0.12~pre5-1           advanced text-mode WWW browser
ii  epiphany-gecko [ww 2.26.1-1              Intuitive GNOME web browser - Geck
ii  equivs             2.0.7-0.1             Circumvent Debian package dependen
ii  fakeroot           1.13                  Gives a fake root environment
ii  git-core           1:1.6.3.3-2           fast, scalable, distributed revisi
ii  gnupg              1.4.9-4               GNU privacy guard - a free PGP rep
ii  iceweasel [www-bro 3.0.12-1              lightweight web browser based on M
ii  konqueror [www-bro 4:4.2.4-1             KDE 4's advanced file manager, web
ii  libauthen-sasl-per 2.12-1                Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-pe 0.57-2                Support for https protocol in LWP
ii  libparse-debcontro 2.005-2               Easy OO parsing of Debian control-
ii  libsoap-lite-perl  0.710.08-2            Client and server side SOAP implem
ii  libterm-size-perl  0.2-4+b1              Perl extension for retrieving term
ii  libtimedate-perl   1.1600-9              Time and date functions for Perl
ii  liburi-perl        1.37+dfsg-1           Manipulates and accesses URI strin
ii  libwww-perl        5.831-1               WWW client/server library for Perl
ii  libyaml-syck-perl  1.07-1                fast, lightweight YAML loader and 
ii  links [www-browser 2.2-1+b1              Web browser running in text mode
ii  lintian            2.2.14                Debian package checker
ii  lsb-release        3.2-23                Linux Standard Base version report
ii  lynx-cur [www-brow 2.8.7rel.1-1          Text-mode WWW Browser with NLS sup
ii  mailx              1:20081101-2          Transitional package for mailx ren
ii  man-db             2.5.5-3               on-line manual pager
ii  mercurial          1.3.1-1               scalable distributed version contr
ii  midori [www-browse 0.1.8-1               fast, lightweight graphical web br
ii  openssh-client [ss 1:5.1p1-6             secure shell client, an rlogin/rsh
ii  opera [www-browser 9.64.2480.gcc4.qt3    The Opera Web Browser
ii  patch              2.5.9-5               Apply a diff file to an original
ii  patchutils         0.3.1-2               Utilities to work with patches
ii  strace             4.5.17+cvs080723-2    A system call tracer
ii  subversion         1.6.3dfsg-1           Advanced version control system
ii  unzip              6.0-1                 De-archiver for .zip files
ii  w3m [www-browser]  0.5.2-2.1             WWW browsable pager with excellent
ii  wdiff              0.5-18                Compares two files word by word
ii  wget               1.11.4-4              retrieves files from the web
ii  xemacs21-mule [www 21.4.22-2             highly customizable text editor --

Versions of packages devscripts suggests:
ii  build-essential               11.4       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
ii  devscripts-el                 30.3-1     Emacs wrappers for the commands in
pn  gnuplot                       <none>     (no description available)
ii  libfile-desktopentry-perl     0.04-2     Perl module to handle freedesktop 
pn  libnet-smtp-ssl-perl          <none>     (no description available)
ii  mutt                          1.5.20-2   text-based mailreader supporting M
ii  svn-buildpackage              0.6.26     helper programs to maintain Debian

-- debconf-show failed
>From cd0c51d6c688f8df1d17022a1c59a4a519ac3d59 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sun, 30 Aug 2009 21:23:55 +0300
Subject: [PATCH] scripts/debchange.pl: (usage): Chnage options to alphabetical 
order


Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 scripts/debchange.pl |  151 +++++++++++++++++++++++++-------------------------
 1 files changed, 76 insertions(+), 75 deletions(-)

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index d4ca537..a909ed9 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -77,17 +77,54 @@ Usage: $progname [options] [changelog entry]
 Options:
   -a, --append
          Append a new entry to the current changelog
-  -i, --increment
-         Increase the Debian release number, adding a new changelog entry
-  -v <version>, --newversion=<version>
-         Add a new changelog entry with version number specified
+  --allow-lower-version
+         Allow a version to be less than the current one (e.g., when
+         backporting) if it matches a specified pattern
+  --auto-nmu
+         Attempt to intelligently determine whether a change to the
+         changelog represents an NMU (default)
+  --no-auto-nmu
+         Do not do so
+  -b, --force-bad-version
+         Force a version to be less than the current one (e.g., when
+         backporting)
+  --bin-nmu
+         Increment the Debian release number for a binary non-maintainer upload
+  --bpo
+         Increment the Debian release number for a Backports.org upload
+        to "lenny-backports"
+  -c, --changelog <changelog>
+         Specify the name of the changelog to use in place of debian/changelog
+         No directory traversal or checking is performed in this case.
+  --check-dirname-level N
+         How much to check directory names:
+         N=0   never
+         N=1   only if program changes directory (default)
+         N=2   always
+  --check-dirname-regex REGEX
+         What constitutes a matching directory name; REGEX is
+         a Perl regular expression; the string \`PACKAGE\' will
+         be replaced by the package name; see manpage for details
+         (default: 'PACKAGE(-.*)?')
+  --closes nnnnn[,nnnnn,...]
+         Add entries for closing these bug numbers,
+         getting bug titles from the BTS (bug-tracking system, bugs.debian.org)
+  --create
+         Create a new changelog (default) or NEWS file (with --news) and
+         open for editing
+  -d, --fromdirname
+         Add a new changelog entry with version taken from the directory name
+  -D, --distribution <dist>
+         Use the specified distribution in the changelog entry being edited
+  --empty
+         When creating a new changelog, don't add any changes to it
+         (i.e. only include the header and trailer lines)
   -e, --edit
          Don't change version number or add a new changelog entry, just
          update the changelog's stamp and open up an editor
-  -r, --release
-         Update the changelog timestamp. If the distribution is set to
-         "UNRELEASED", change it to unstable (or another distribution as
-         specified by --distribution).
+  --force-distribution
+         Force the provided distribution to be used, even if it doesn't match
+         the list of known distributions
   --force-save-on-release
          When --release is used and an editor opened to allow inspection
          of the changelog, require the user to save the changelog their
@@ -98,92 +135,56 @@ Options:
          in order to achieve the same effect - e.g. $progname --release ""
          The entry will not be added to the changelog but its presence will
          suppress the editor
-  --create
-         Create a new changelog (default) or NEWS file (with --news) and
-         open for editing
-  --empty
-         When creating a new changelog, don't add any changes to it
-         (i.e. only include the header and trailer lines)
-  --package <package>
-         Specify the package name when using --create (optional)
-  --auto-nmu
-         Attempt to intelligently determine whether a change to the
-         changelog represents an NMU (default)
-  --no-auto-nmu
-         Do not do so
+  --help, -h
+         Display this help message and exit
+  -i, --increment
+         Increase the Debian release number, adding a new changelog entry
+  -l, --local <suffix>
+         Add a suffix to the Debian version number for a local build
+  -m, --maintmaint
+         Don\'t change (maintain) the maintainer details in the changelog entry
+  --[no]multimaint
+         When appending an entry to a changelog section (-a), [do not]
+         indicate if multiple maintainers are now involved (default: do so)
   -n, --nmu
          Increment the Debian release number for a non-maintainer upload
-  --bin-nmu
-         Increment the Debian release number for a binary non-maintainer upload
+  --news <newsfile>
+         Specify that the newsfile (default debian/NEWS) is to be edited
+  --no-conf, --noconf
+         Don\'t read devscripts config files; must be the first option given
+  --package <package>
+         Specify the package name when using --create (optional)
   -q, --qa
          Increment the Debian release number for a Debian QA Team upload
   -s, --security
          Increment the Debian release number for a Debian Security Team upload
-  --bpo
-         Increment the Debian release number for a Backports.org upload
-        to "lenny-backports"
-  -l, --local <suffix>
-         Add a suffix to the Debian version number for a local build
-  -b, --force-bad-version
-         Force a version to be less than the current one (e.g., when
-         backporting)
-  --allow-lower-version
-         Allow a version to be less than the current one (e.g., when
-         backporting) if it matches a specified pattern
-  --force-distribution
-         Force the provided distribution to be used, even if it doesn't match
-         the list of known distributions
-  --closes nnnnn[,nnnnn,...]
-         Add entries for closing these bug numbers,
-         getting bug titles from the BTS (bug-tracking system, bugs.debian.org)
   --[no]query
          [Don\'t] try contacting the BTS to get bug titles (default: do query)
-  -d, --fromdirname
-         Add a new changelog entry with version taken from the directory name
   -p, --preserve
          Preserve the directory name
   --no-preserve
          Do not preserve the directory name (default)
-  -D, --distribution <dist>
-         Use the specified distribution in the changelog entry being edited
   -u, --urgency <urgency>
          Use the specified urgency in the changelog entry being edited
-  -c, --changelog <changelog>
-         Specify the name of the changelog to use in place of debian/changelog
-         No directory traversal or checking is performed in this case.
-  --news <newsfile>
-         Specify that the newsfile (default debian/NEWS) is to be edited
-  --[no]multimaint
-         When appending an entry to a changelog section (-a), [do not]
-         indicate if multiple maintainers are now involved (default: do so)
-  -m, --maintmaint
-         Don\'t change (maintain) the maintainer details in the changelog entry
-  -t, --mainttrailer
-         Don\'t change (maintain) the trailer line in the changelog entry; i.e.
-         maintain the maintainer and date/time details
-  --check-dirname-level N
-         How much to check directory names:
-         N=0   never
-         N=1   only if program changes directory (default)
-         N=2   always
-  --check-dirname-regex REGEX
-         What constitutes a matching directory name; REGEX is
-         a Perl regular expression; the string \`PACKAGE\' will
-         be replaced by the package name; see manpage for details
-         (default: 'PACKAGE(-.*)?')
-  --no-conf, --noconf
-         Don\'t read devscripts config files; must be the first option given
+  -r, --release
+         Update the changelog timestamp. If the distribution is set to
+         "UNRELEASED", change it to unstable (or another distribution as
+         specified by --distribution).
   --release-heuristic log|changelog
          Select heuristic used to determine if a package has been released.
          (default: log)
-  --help, -h
-         Display this help message and exit
+  -t, --mainttrailer
+         Don\'t change (maintain) the trailer line in the changelog entry; i.e.
+         maintain the maintainer and date/time details
+  -v <version>, --newversion=<version>
+         Add a new changelog entry with version number specified
   --version
          Display version information
-  At most one of -a, -i, -e, -r, -v, -d, -n, --bin-nmu, -q, --qa, -s, --bpo, -l
-  (or their long equivalents) may be used.
-  With no options, one of -i or -a is chosen by looking for a .upload
-  file in the parent directory and checking its contents.
+
+  At most one of -a, -i, -e, -r, -v, -d, -n, --bin-nmu, -q, --qa, -s,
+  --bpo, -l (or their long equivalents) may be used. With no options,
+  one of -i or -a is chosen by looking for a .upload file in the
+  parent directory and checking its contents.
 
 Default settings modified by devscripts configuration files:
 $modified_conf_msg
-- 
1.6.3.3

Reply via email to