Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/service Sort options in usage.
details: https://anonhg.NetBSD.org/src/rev/10f6c899be13
branches: trunk
changeset: 336838:10f6c899be13
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Mar 22 22:39:05 2015 +0000
description:
Sort options in usage.
diffstat:
usr.sbin/service/service | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r a976e75a3179 -r 10f6c899be13 usr.sbin/service/service
--- a/usr.sbin/service/service Sun Mar 22 22:38:19 2015 +0000
+++ b/usr.sbin/service/service Sun Mar 22 22:39:05 2015 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: service,v 1.2 2015/03/22 10:24:48 ast Exp $
+# $NetBSD: service,v 1.3 2015/03/22 22:39:05 wiz Exp $
# service -- run or list system services
#
# Taken from FreeBSD: releng/10.1/usr.sbin/service/service.sh 268098
@@ -37,12 +37,12 @@
usage ()
{
local me=${0##*/}
- echo "usage: ${me} [-vel]"
- echo " ${me} [-ve] rc_script_name [rc_script_name2 [...]]"
- echo " ${me} [-vf] rc_script_name action"
- echo " -l: List all scripts in rcorder"
+ echo "usage: ${me} [-elv]"
+ echo " ${me} [-ev] rc_script_name [rc_script_name2 [...]]"
+ echo " ${me} [-fv] rc_script_name action"
echo " -e: List enabled scripts; check if given scripts are enabled"
echo " -f: Set rc_fast=yes when running rc_script_name action"
+ echo " -l: List all scripts in rcorder"
echo " -v: Verbose (mention in which directory script is found)"
echo "rc_directories is currently set to ${rc_directories}"
return 0
Home |
Main Index |
Thread Index |
Old Index