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.
This commit is contained in:
Tobin C. Harding 2018-10-23 11:37:02 +11:00
parent 0f29943333
commit 9ac060a708
1 changed files with 1 additions and 2 deletions

View File

@ -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,