Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/service Make the usage appear more standard.
details: https://anonhg.NetBSD.org/src/rev/14d0c69f3944
branches: trunk
changeset: 336825:14d0c69f3944
user: ast <ast%NetBSD.org@localhost>
date: Sun Mar 22 10:24:48 2015 +0000
description:
Make the usage appear more standard.
diffstat:
usr.sbin/service/service | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 928759ceb5da -r 14d0c69f3944 usr.sbin/service/service
--- a/usr.sbin/service/service Sun Mar 22 09:57:42 2015 +0000
+++ b/usr.sbin/service/service Sun Mar 22 10:24:48 2015 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: service,v 1.1 2015/03/22 09:57:42 ast Exp $
+# $NetBSD: service,v 1.2 2015/03/22 10:24:48 ast Exp $
# service -- run or list system services
#
# Taken from FreeBSD: releng/10.1/usr.sbin/service/service.sh 268098
@@ -37,9 +37,9 @@
usage ()
{
local me=${0##*/}
- echo "Usage: ${me} [-vel]"
- echo "Usage: ${me} [-ve] rc_script_name [rc_script_name2 [...]]"
- echo "Usage: ${me} [-vf] rc_script_name action"
+ 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 " -e: List enabled scripts; check if given scripts are enabled"
echo " -f: Set rc_fast=yes when running rc_script_name action"
Home |
Main Index |
Thread Index |
Old Index