lkml.org 
[lkml]   [2019]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] leaking_addresses: Completely remove --version flag
Date
Recently attempt to remove the '--version' flag was made, badly.  I
failed to remove mention of it from the help output. And also I failed
to actually remove the flag from the options list.

_Completely_ remove --version flag.

Signed-off-by: Tobin C. Harding <tobin@kernel.org>
---
scripts/leaking_addresses.pl | 3 +--
1 file changed, 1 insertion(+), 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,
--
2.20.1
\
 
 \ /
  Last update: 2019-02-07 23:51    [W:1.666 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site