Bug#600905: lintian: [PATCH] --help to display options alphanetically
Package: lintian
Version: 2.4.3
Severity: wishlist
Here is small patch against Git c5f2aa7 2010-08-26 to make syntax() display
items alphabetically.
-- 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.32-5-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 lintian depends on:
ii binutils 2.20.1-15 The GNU assembler, linker and bina
ii diffstat 1.53-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.5 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii locales 2.11.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-4 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-15 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-4 on-line manual pager
-- no debconf information
>From 702678e2c0f57d001325e2a8d16b91517b20da30 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Thu, 21 Oct 2010 11:32:00 +0300
Subject: [PATCH] frontend/lintian: (syntax): order options alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
frontend/lintian | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/frontend/lintian b/frontend/lintian
index 42e6876..6006968 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -139,54 +139,54 @@ sub syntax {
print <<"EOT-EOT-EOT";
Syntax: lintian [action] [options] [--] [packages] ...
Actions:
- -S, --setup-lab set up static lab
- -R, --remove-lab remove static lab
-c, --check check packages (default action)
-C X, --check-part X check only certain aspects
- -X X, --dont-check-part X don\'t check certain aspects
+ -F, --ftp-master-rejects only check for automatic reject tags
+ -r, --remove remove package from the lab
+ -R, --remove-lab remove static lab
+ -S, --setup-lab set up static lab
-T X, --tags X only run checks needed for requested tags
--tags-from-file X like --tags, but read list from file
- -F, --ftp-master-rejects only check for automatic reject tags
-u, --unpack only unpack packages in the lab
- -r, --remove remove package from the lab
+ -X X, --dont-check-part X don\'t check certain aspects
General options:
+ -d, --debug turn Lintian\'s debug messages ON
-h, --help display short help text
- -v, --verbose verbose messages
- -V, --version display Lintian version and exit
--print-version print unadorned version number and exit
- -d, --debug turn Lintian\'s debug messages ON
-q, --quiet suppress all informational messages
+ -v, --verbose verbose messages
+ -V, --version display Lintian version and exit
Behaviour options:
+ --allow-root suppress lintian\'s warning when run as root
+ --color never/always/auto disable, enable, or enable color for TTY
+ --display-source X restrict displayed tags by source
+ -E, --display-experimental display "X:" tags (normally suppressed)
+ --fail-on-warnings return a non-zero exit status if warnings found
-i, --info give detailed info about tags
-I, --display-info display "I:" tags (normally suppressed)
- -E, --display-experimental display "X:" tags (normally suppressed)
- --pedantic display "P:" tags (normally suppressed)
+ --keep-lab keep lab after run, even if temporary
-L, --display-level display tags with the specified level
- --display-source X restrict displayed tags by source
- --suppress-tags T,... don\'t show the specified tags
- --suppress-tags-from-file X don\'t show the tags listed in file X
+ -m, --md5sums, --checksums check checksums when processing a .changes file
-o, --no-override ignore overrides
+ --pedantic display "P:" tags (normally suppressed)
--show-overrides output tags that have been overriden
- --color never/always/auto disable, enable, or enable color for TTY
+ --suppress-tags T,... don\'t show the specified tags
+ --suppress-tags-from-file X don\'t show the tags listed in file X
-U X, --unpack-info X specify which info should be collected
- -m, --md5sums, --checksums check checksums when processing a .changes file
- --allow-root suppress lintian\'s warning when run as root
- --fail-on-warnings return a non-zero exit status if warnings found
- --keep-lab keep lab after run, even if temporary
Configuration options:
- --cfg CONFIGFILE read CONFIGFILE for configuration
- --lab LABDIR use LABDIR as permanent laboratory
- --archivedir ARCHIVEDIR location of Debian archive to scan for packages
- --dist DIST scan packages in this distribution (e.g. sid)
--area AREA scan packages in this archive area (e.g. main)
--arch ARCH scan packages with architecture ARCH
+ --archivedir ARCHIVEDIR location of Debian archive to scan for packages
+ --cfg CONFIGFILE read CONFIGFILE for configuration
+ --dist DIST scan packages in this distribution (e.g. sid)
+ --lab LABDIR use LABDIR as permanent laboratory
--root ROOTDIR use ROOTDIR instead of /usr/share/lintian
Package selection options:
-a, --all process all packages in distribution
-b, --binary process only binary packages
+ -p X, --packages-file X process all files in file (special syntax!)
-s, --source process only source packages
--udeb process only udeb packages
- -p X, --packages-file X process all files in file (special syntax!)
EOT-EOT-EOT
exit 0;
--
1.7.1
Reply to: