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

Bug#624795: linux-base: "$0" in linux-version help



Package: linux-base
Version: 3.2
Severity: minor
Tags: patch

$ linux-version --help | head -n1
Usage: $0 compare VERSION1 OP VERSION2

It should be "linux-version" instead of "$0".

--
Jakub Wilk
diff --git a/bin/linux-version b/bin/linux-version
--- a/bin/linux-version
+++ b/bin/linux-version
@@ -23,7 +23,7 @@
 
 sub usage {
     my $fh = shift;
-    print $fh (<< 'EOT');
+    print $fh (<< "EOT");
 Usage: $0 compare VERSION1 OP VERSION2
        $0 sort [--reverse] [VERSION1 VERSION2 ...]
        $0 list [--paths]

Reply to: