[lintian] 01/01: c/info.pm: Accept --tag as alias of --tags
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 3ae97b034b35ff5de5a6d8d63a91c33505e2a25d
Author: Niels Thykier <niels@thykier.net>
Date: Sat Apr 9 11:50:07 2016 +0000
c/info.pm: Accept --tag as alias of --tags
Signed-off-by: Niels Thykier <niels@thykier.net>
---
commands/info.pm | 8 ++++----
debian/changelog | 4 ++++
man/lintian-info.pod | 2 +-
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/commands/info.pm b/commands/info.pm
index 3f053ba..fdd56b3 100644
--- a/commands/info.pm
+++ b/commands/info.pm
@@ -39,7 +39,7 @@ sub main {
my (%already_displayed, $profile);
my %opthash = (
'annotate|a' => \$annotate,
- 'tags|t' => \$tags,
+ 'tags|tag|t' => \$tags,
'help|h' => \$help,
'profile=s' => \$prof,
);
@@ -65,9 +65,9 @@ Usage: $me [log-file...] ...
$me --tags tag ...
Options:
- -a, --annotate display descriptions of tags in Lintian overrides
- -t, --tags display tag descriptions
- --profile X use vendor profile X to determine severities
+ -a, --annotate display descriptions of tags in Lintian overrides
+ -t, --tag, --tags display tag descriptions
+ --profile X use vendor profile X to determine severities
EOT
if (compat) {
# if we are called as lintian-info, we also accept
diff --git a/debian/changelog b/debian/changelog
index b854f24..0a0cdc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ lintian (2.5.44) UNRELEASED; urgency=medium
trailing tilde. (Closes: #819509) Thanks to Felix Geyer for the bug
report.
+ * command/info.pm:
+ + [NT] Accept "--tag" as an alias of "--tags". Thanks to Robert
+ Luberda for the suggestion. (Closes: #816454)
+
* data/standards-version/release-dates:
+ [AB] Add 3.9.8.
diff --git a/man/lintian-info.pod b/man/lintian-info.pod
index 6dabed5..46bafab 100644
--- a/man/lintian-info.pod
+++ b/man/lintian-info.pod
@@ -86,7 +86,7 @@ current vendor.
Please Refer to the Lintian User Manual for the full documentation of
profiles.
-=item B<-t>, B<--tags>
+=item B<-t>, B<--tag>, B<--tags>
Rather than treating them as log file names, treat any command-line
options as tag names and display the descriptions of each tag.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: