Skip to content

Commit

Permalink
leaking_addresses: Completely remove --version flag
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Tobin C. Harding committed Mar 6, 2019
1 parent 0f29943 commit 9ac060a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/leaking_addresses.pl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sub help
--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.
Expand All @@ -108,7 +108,6 @@ sub help
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,
Expand Down

0 comments on commit 9ac060a

Please sign in to comment.