mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-04-12 01:09:57 +02:00
Fix help text (#285)
* fix --help message Commit 7b72c20f89d7e9906497b6a8cfcff7ea35f833b7 added help text for the --cve switch, and the "can be specified multiple times" note got associated with the --cve switch instead of staying with the --variant switch. Restore the line to belong to the --variant switch help message. * Add new variants to error message Commit 8e870db4f52ade43d94dd04ded7197db6d44b706 added new variants but did not add them to the error message that listed the allowable variants. Add them now.
This commit is contained in:
parent
5788cec18b
commit
4f9ca803c8
@ -79,8 +79,8 @@ show_usage()
|
||||
|
||||
--variant VARIANT specify which variant you'd like to check, by default all variants are checked
|
||||
VARIANT can be one of 1, 2, 3, 3a, 4, l1tf, msbds, mfbds, mlpds, mdsum
|
||||
--cve [cve1,cve2,...] specify which CVE you'd like to check, by default all supported CVEs are checked
|
||||
can be specified multiple times (e.g. --variant 2 --variant 3)
|
||||
--cve [cve1,cve2,...] specify which CVE you'd like to check, by default all supported CVEs are checked
|
||||
--hw-only only check for CPU information, don't check for any variant
|
||||
--no-hw skip CPU information and checks, if you're inspecting a kernel not to be run on this host
|
||||
--vmm [auto,yes,no] override the detection of the presence of a hypervisor (for CVE-2018-3646), default: auto
|
||||
@ -883,7 +883,7 @@ while [ -n "$1" ]; do
|
||||
mdsum) opt_cve_list="$opt_cve_list CVE-2019-11091"; opt_cve_all=0;;
|
||||
l1tf) opt_cve_list="$opt_cve_list CVE-2018-3615 CVE-2018-3620 CVE-2018-3646"; opt_cve_all=0;;
|
||||
*)
|
||||
echo "$0: error: invalid parameter '$2' for --variant, expected either 1, 2, 3, 3a, 4 or l1tf" >&2;
|
||||
echo "$0: error: invalid parameter '$2' for --variant, expected either 1, 2, 3, 3a, 4, msbds, mfbds, mlpds, mdsum, or l1tf" >&2;
|
||||
exit 255
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user