summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTobin C. Harding <tobin@kernel.org>2018-10-23 02:37:02 +0200
committerTobin C. Harding <tobin@kernel.org>2019-03-06 22:53:18 +0100
commit9ac060a708e054233265f8febfcef009ac3da826 (patch)
treeca8cd84b764dbacbe8197544d312efdc800a2ad3 /scripts
parentleaking_addresses: Fix calls to dprint (diff)
downloadlinux-9ac060a708e054233265f8febfcef009ac3da826.tar.xz
linux-9ac060a708e054233265f8febfcef009ac3da826.zip
leaking_addresses: Completely remove --version flag
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/leaking_addresses.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
index 214c12be8c86..ef9e5b2a1614 100755
--- a/scripts/leaking_addresses.pl
+++ b/scripts/leaking_addresses.pl
@@ -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,