add --version, bump to v0.28

This commit is contained in:
Stéphane Lesimple 2018-01-12 19:10:44 +01:00
parent 8f18f53aba
commit dce917bfbb
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@
# #
# Stephane Lesimple # Stephane Lesimple
# #
VERSION=0.27 VERSION=0.28
# Script configuration # Script configuration
show_usage() 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 --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) Can be specified multiple times (e.g. --variant 2 --variant 3)
IMPORTANT: IMPORTANT:
A false sense of security is worse than no security at all. A false sense of security is worse than no security at all.
Please use the --disclaimer option to understand exactly what this script does. Please use the --disclaimer option to understand exactly what this script does.
@ -290,6 +291,10 @@ while [ -n "$1" ]; do
show_header show_header
show_usage show_usage
exit 0 exit 0
elif [ "$1" = "--version" ]; then
opt_no_color=1
show_header
exit 1
elif [ "$1" = "--disclaimer" ]; then elif [ "$1" = "--disclaimer" ]; then
show_header show_header
show_disclaimer show_disclaimer