aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Lesimple <speed47_github@speed47.net>2018-01-12 19:10:44 +0100
committerStéphane Lesimple <speed47_github@speed47.net>2018-01-12 19:10:44 +0100
commitdce917bfbb4fa5e135b7ed4c84881086766be802 (patch)
tree85e3b33386a9be65babfd2eed447e52def04f81f
parent8f18f53aba743f3a221321391f39a6d684ac93aa (diff)
downloadspectre-meltdown-checker-dce917bfbb4fa5e135b7ed4c84881086766be802.tar.lz
spectre-meltdown-checker-dce917bfbb4fa5e135b7ed4c84881086766be802.tar.xz
spectre-meltdown-checker-dce917bfbb4fa5e135b7ed4c84881086766be802.zip
add --version, bump to v0.28
-rwxr-xr-xspectre-meltdown-checker.sh7
1 files changed, 6 insertions, 1 deletions
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