mirror of https://github.com/CISOfy/lynis.git
Move -c also to list of deprecated items
This commit is contained in:
parent
2b43ea8d71
commit
3db7a3b944
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue