Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-08-21 14:48:36 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-21 14:48:36 +0300
commit3db7a3b944ec79e3a6346114f98ecef3c6da8369 (patch)
treee0ed6677c0752afe14e63591bd7551d53c9cc56e /include/parameters
parent2b43ea8d711597784fc3c030aa79eacc3b5180f4 (diff)
Move -c also to list of deprecated items
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/parameters b/include/parameters
index 483f2193..74f2c9a0 100644
--- a/include/parameters
+++ b/include/parameters
@@ -224,12 +224,6 @@
fi
;;
- # Perform tests (deprecated, use audit system)
- --check-all | --checkall | -c)
- DisplayToolTip "Usage of option -c is deprecated. Please use: lynis audit system [options]"
- CHECK=1
- ;;
-
# Cronjob support
--cron-job | --cronjob | --cron)
CRONJOB=1
@@ -424,16 +418,23 @@
# Soon to be deprecated options
+ # Perform tests (deprecated, use audit system)
+ --check-all | --checkall | -c)
+ echo "This option (-c) is deprecated."
+ echo "Use: lynis audit system [options]"
+ ExitFatal
+ ;;
+
# View program/database information
--check-update | --check-updates | --info)
- echo "This option is deprecated"
+ echo "This option (--info) is deprecated"
echo "Use: lynis update info"
ExitFatal
;;
# Display all available options with short alias
--dump-options | --dumpoptions)
- echo "This option is deprecated"
+ echo "This option (--dump-options) is deprecated"
echo "Use: lynis show options"
ExitFatal
;;