Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/altq/altqd - add -D to usage
details: https://anonhg.NetBSD.org/src/rev/e253f8208e56
branches: trunk
changeset: 582110:e253f8208e56
user: peter <peter%NetBSD.org@localhost>
date: Fri Jun 17 12:02:00 2005 +0000
description:
- add -D to usage
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)
>From Kouichirou Hiratsuka in PR/26532.
diffstat:
usr.sbin/altq/altqd/altqd.8 | 20 ++++++++++----------
usr.sbin/altq/altqd/altqd.c | 4 ++--
2 files changed, 12 insertions(+), 12 deletions(-)
diffs (67 lines):
diff -r fe161337f311 -r e253f8208e56 usr.sbin/altq/altqd/altqd.8
--- a/usr.sbin/altq/altqd/altqd.8 Fri Jun 17 09:13:56 2005 +0000
+++ b/usr.sbin/altq/altqd/altqd.8 Fri Jun 17 12:02:00 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: altqd.8,v 1.8 2003/06/27 22:56:37 wiz Exp $
+.\" $NetBSD: altqd.8,v 1.9 2005/06/17 12:02:00 peter Exp $
.\" $KAME: altqd.8,v 1.9 2002/01/23 06:56:27 itojun Exp $
.\"
.\" Copyright (C) 2000
@@ -33,7 +33,7 @@
.Nd ALTQ daemon
.Sh SYNOPSIS
.Nm altqd
-.Op Fl dvD
+.Op Fl Ddv
.Op Fl f Ar conf_file
.Sh DESCRIPTION
.Nm
@@ -50,22 +50,22 @@
.Pp
The following options are available:
.Bl -tag -width Fl
-.It Fl f
-Specify a configuration file to read instead of the default.
-The default file is
-.Pa /etc/altq.conf .
+.It Fl D
+Dummy mode.
+.Nm
+does not issue altq system calls.
.It Fl d
Debug mode.
.Nm
does not detach and goes into the command mode.
+.It Fl f Ar conf_file
+Specify a configuration file to read instead of the default.
+The default file is
+.Pa /etc/altq.conf .
.It Fl v
Print debugging information.
This option implies
.Fl d .
-.It Fl D
-Dummy mode.
-.Nm
-does not issue altq system calls.
.El
.Sh COMMANDS
When
diff -r fe161337f311 -r e253f8208e56 usr.sbin/altq/altqd/altqd.c
--- a/usr.sbin/altq/altqd/altqd.c Fri Jun 17 09:13:56 2005 +0000
+++ b/usr.sbin/altq/altqd/altqd.c Fri Jun 17 12:02:00 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: altqd.c,v 1.7 2002/03/05 04:11:51 itojun Exp $ */
+/* $NetBSD: altqd.c,v 1.8 2005/06/17 12:02:00 peter Exp $ */
/* $KAME: altqd.c,v 1.10 2002/02/20 10:42:26 kjc Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -85,7 +85,7 @@
static void
usage(void)
{
- fprintf(stderr, "usage: altqd [-vd] [-f config]\n");
+ fprintf(stderr, "usage: %s [-Ddv] [-f config]\n", getprogname());
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index