]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
leaking_addresses: Completely remove --version flag
authorTobin C. Harding <tobin@kernel.org>
Tue, 23 Oct 2018 00:37:02 +0000 (11:37 +1100)
committerTobin C. Harding <tobin@kernel.org>
Wed, 6 Mar 2019 21:53:18 +0000 (08:53 +1100)
Recently attempt to remove the '--version' flag was made, badly.  We
failed to remove mention of it from the help output.  And we (me) failed
to actually remove the flag from the options list.

_Completely_ remove --version flag.

scripts/leaking_addresses.pl

index 214c12be8c8640dc160b51679b85a007785f827e..ef9e5b2a161491079388e90a27015ed8af567c0b 100755 (executable)
@@ -97,7 +97,7 @@ Options:
        --32-bit                        Scan 32-bit kernel.
        --page-offset-32-bit=o          Page offset (for 32-bit kernel 0xABCD1234).
        -d, --debug                     Display debugging output.
-       -h, --help, --version           Display this help and exit.
+       -h, --help                      Display this help and exit.
 
 Scans the running kernel for potential leaking addresses.
 
@@ -108,7 +108,6 @@ EOM
 GetOptions(
        'd|debug'               => \$debug,
        'h|help'                => \$help,
-       'version'               => \$help,
        'o|output-raw=s'        => \$output_raw,
        'i|input-raw=s'         => \$input_raw,
        'suppress-dmesg'        => \$suppress_dmesg,