[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/06: com/info: Use "dplint info" in usage when called as such



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 82298d2e6330d90347c46d8cc4a0a69f76aa872c
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Mar 23 09:35:21 2014 +0100

    com/info: Use "dplint info" in usage when called as such
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/info | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/commands/info b/commands/info
index ca05cc2..98434c4 100755
--- a/commands/info
+++ b/commands/info
@@ -74,10 +74,12 @@ Getopt::Long::GetOptions(%opthash) or die("error parsing options\n");
 
 # help
 if ($help) {
-    print <<'EOT';
-Usage: lintian-info [log-file...] ...
-       lintian-info --annotate [overrides ...]
-       lintian-info --tags tag ...
+    my $me = 'dplint info';
+    $me = 'lintian-info' if compat;
+    print <<"EOT";
+Usage: $me [log-file...] ...
+       $me --annotate [overrides ...]
+       $me --tags tag ...
 
 Options:
     -a, --annotate    display descriptions of tags in Lintian overrides

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: