rc.subr (229822) | rc.subr (230007) |
---|---|
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ | 1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ |
2# $FreeBSD: head/etc/rc.subr 229822 2012-01-08 20:25:29Z dougb $ | 2# $FreeBSD: head/etc/rc.subr 230007 2012-01-12 06:48:11Z rea $ |
3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1100 unchanged lines hidden (view full) --- 1111 1112# 1113# rc_usage commands 1114# Print a usage string for $0, with `commands' being a list of 1115# valid commands. 1116# 1117rc_usage() 1118{ | 3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1100 unchanged lines hidden (view full) --- 1111 1112# 1113# rc_usage commands 1114# Print a usage string for $0, with `commands' being a list of 1115# valid commands. 1116# 1117rc_usage() 1118{ |
1119 echo -n 1>&2 "Usage: $0 [fast|force|one](" | 1119 echo -n 1>&2 "Usage: $0 [fast|force|one|quiet](" |
1120 1121 _sep= 1122 for _elem; do 1123 echo -n 1>&2 "$_sep$_elem" 1124 _sep="|" 1125 done 1126 echo 1>&2 ")" 1127 exit 1 --- 650 unchanged lines hidden --- | 1120 1121 _sep= 1122 for _elem; do 1123 echo -n 1>&2 "$_sep$_elem" 1124 _sep="|" 1125 done 1126 echo 1>&2 ")" 1127 exit 1 --- 650 unchanged lines hidden --- |