From dce917bfbb4fa5e135b7ed4c84881086766be802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Fri, 12 Jan 2018 19:10:44 +0100 Subject: [PATCH] add --version, bump to v0.28 --- spectre-meltdown-checker.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index b80bec6..cb2f77c 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -8,7 +8,7 @@ # # Stephane Lesimple # -VERSION=0.27 +VERSION=0.28 # Script configuration show_usage() @@ -41,6 +41,7 @@ show_usage() --variant [1,2,3] Specify which variant you'd like to check, by default all variants are checked Can be specified multiple times (e.g. --variant 2 --variant 3) + IMPORTANT: A false sense of security is worse than no security at all. Please use the --disclaimer option to understand exactly what this script does. @@ -290,6 +291,10 @@ while [ -n "$1" ]; do show_header show_usage exit 0 + elif [ "$1" = "--version" ]; then + opt_no_color=1 + show_header + exit 1 elif [ "$1" = "--disclaimer" ]; then show_header show_disclaimer