From 17a1e81ebc795824d7bb61243e090649dac7ae82 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 19 Feb 2009 10:25:59 +0100 Subject: off: Updated help --- etc/functions/off | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc/functions') diff --git a/etc/functions/off b/etc/functions/off index c24b575..b336fa5 100755 --- a/etc/functions/off +++ b/etc/functions/off @@ -25,12 +25,15 @@ while [[ $1 == -* ]] { --force) force=1 ;; -h) print 'off - shutdown / restart the system' - print 'Usage: off [--force] [-hnr]' + print 'Usage: off [--force] [-hnr] [place]' print 'Options:\n' print ' -n simulate. Do not actually shutdown' print ' -r reboot' print ' -h show this message' print '\--force shutdown even if the machine is a server' + print '' + print ' place supply if machine will remain off for some time,' + print ' either "gone" or the place one will be going to' return 0 ;; *) fdie "Unrecognized option: $1"; return 1 ;; -- cgit v1.2.3