Move -c also to list of deprecated items

This commit is contained in:
Michael Boelen 2019-08-21 13:48:36 +02:00
parent 2b43ea8d71
commit 3db7a3b944
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 9 additions and 8 deletions

View File

@ -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
;;