coldreboot -V (return code: 1)
/lib/molly-guard/reboot: unrecognized option '--version'
coldreboot --help (return code: 0)
Usage: molly-guard [options] [-- script options]
(shielding /lib/molly-guard/coldreboot)
molly-guard's primary goal is to guard against accidental
shutdowns/reboots. molly-guard will run all scripts in /etc/molly-guard/run.d and only
invokes /lib/molly-guard/coldreboot if all scripts exited successfully.
Specifying --molly-guard-do-nothing as argument to the command will
make molly-guard echo the command it would execute rather than actually
executing it.
Options following the double hyphen will be passed unchanged to the
scripts.
Please see molly-guard(8) for more information.
The actual command's help output follows:
Usage: molly-guard [options] [-- script options]
(shielding /lib/molly-guard/reboot)
molly-guard's primary goal is to guard against accidental
shutdowns/reboots. molly-guard will run all scripts in /etc/molly-guard/run.d and only
invokes /lib/molly-guard/reboot if all scripts exited successfully.
Specifying --molly-guard-do-nothing as argument to the command will
make molly-guard echo the command it would execute rather than actually
executing it.
Options following the double hyphen will be passed unchanged to the
scripts.
Please see molly-guard(8) for more information.
The actual command's help output follows:
reboot [OPTIONS...] [ARG]
Reboot the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot