summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-19 10:25:59 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-19 10:25:59 +0100
commit17a1e81ebc795824d7bb61243e090649dac7ae82 (patch)
tree51db8629bd227bec8cdeb62da1839f4026a8de58
parentecd413fb972c54b0967e3822ec3a7d0ab2e90bf0 (diff)
off: Updated help
-rwxr-xr-xetc/functions/off5
1 files changed, 4 insertions, 1 deletions
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 ;;