The `shutdown' manpage shows SYNOPSIS /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message] whereas the cmd itself shows a different order: root> shutdown -k Usage: shutdown [-akrhfnc] [-t secs] time [warning message] ... Also for consistency: One uses "sec", the other "secs". ================================================================ A related feature request: For a non-root user "tux", tux> shutdown -k shutdown: you must be root to do that! So a non-root user can't use the cmd-line to safely find out how to use `shutdown'. I request that `shutdown' be modified so that it allows a non-root user to see tux> shutdown -k Usage: shutdown [-akrhfnc] [-t secs] time [warning message] -a: use /etc/shutdown.allow -k: don't really shutdown, only warn. -r: reboot after shutdown. -h: halt after shutdown. -f: do a 'fast' reboot (skip fsck). -F: Force fsck on reboot. -n: do not go through "init" but go down real fast. -c: cancel a running shutdown. -t secs: delay between warning and kill signal. ** the "time" argument is mandatory! (try "now") ** Also, would it be worthwhile to give `shutdown' an explicit "--help" option? Reproducible: Always Steps to Reproduce: 1. 2. 3.
this is an upstream bug/feature-request (as far as i can tell)
fixed in portage and e-mailed upstream