diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-21 14:48:36 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-21 14:48:36 +0300 |
commit | 3db7a3b944ec79e3a6346114f98ecef3c6da8369 (patch) | |
tree | e0ed6677c0752afe14e63591bd7551d53c9cc56e /include/parameters | |
parent | 2b43ea8d711597784fc3c030aa79eacc3b5180f4 (diff) |
Move -c also to list of deprecated items
Diffstat (limited to 'include/parameters')
-rw-r--r-- | include/parameters | 17 |
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 ;; |