mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 22:34:33 +02:00
Move -c also to list of deprecated items
This commit is contained in:
parent
2b43ea8d71
commit
3db7a3b944
@ -224,12 +224,6 @@
|
|||||||
fi
|
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
|
# Cronjob support
|
||||||
--cron-job | --cronjob | --cron)
|
--cron-job | --cronjob | --cron)
|
||||||
CRONJOB=1
|
CRONJOB=1
|
||||||
@ -424,16 +418,23 @@
|
|||||||
|
|
||||||
# Soon to be deprecated options
|
# 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
|
# View program/database information
|
||||||
--check-update | --check-updates | --info)
|
--check-update | --check-updates | --info)
|
||||||
echo "This option is deprecated"
|
echo "This option (--info) is deprecated"
|
||||||
echo "Use: lynis update info"
|
echo "Use: lynis update info"
|
||||||
ExitFatal
|
ExitFatal
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Display all available options with short alias
|
# Display all available options with short alias
|
||||||
--dump-options | --dumpoptions)
|
--dump-options | --dumpoptions)
|
||||||
echo "This option is deprecated"
|
echo "This option (--dump-options) is deprecated"
|
||||||
echo "Use: lynis show options"
|
echo "Use: lynis show options"
|
||||||
ExitFatal
|
ExitFatal
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user