Combine multiple single-letter options.

This commit is contained in:
wiz 2003-09-21 15:23:55 +00:00
parent a57c218722
commit 0ba80f40e8
2 changed files with 13 additions and 18 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysctl.8,v 1.99 2003/09/20 17:02:17 grant Exp $
.\" $NetBSD: sysctl.8,v 1.100 2003/09/21 15:23:55 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -37,25 +37,20 @@
.Nd get or set kernel state
.Sh SYNOPSIS
.Nm sysctl
.Op Fl n
.Op Fl e
.Op Fl en
.Ar name ...
.Nm sysctl
.Op Fl n
.Op Fl q
.Op Fl nq
.Fl w
.Ar name Ns Li = Ns Ar value ...
.Nm sysctl
.Op Fl n
.Op Fl e
.Op Fl en
.Fl a
.Nm sysctl
.Op Fl n
.Op Fl e
.Op Fl en
.Fl A
.Nm sysctl
.Op Fl n
.Op Fl q
.Op Fl nq
.Fl f
.Ar file
.Sh DESCRIPTION

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysctl.c,v 1.72 2003/09/20 17:02:19 grant Exp $ */
/* $NetBSD: sysctl.c,v 1.73 2003/09/21 15:23:56 wiz Exp $ */
/*
* Copyright (c) 1993
@ -40,7 +40,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: sysctl.c,v 1.72 2003/09/20 17:02:19 grant Exp $");
__RCSID("$NetBSD: sysctl.c,v 1.73 2003/09/21 15:23:56 wiz Exp $");
#endif
#endif /* not lint */
@ -1266,10 +1266,10 @@ usage(void)
(void)fprintf(stderr,
"Usage:\t%s %s\n\t%s %s\n\t%s %s\n\t%s %s\n\t%s %s\n",
progname, "[-n] [-e] variable ...",
progname, "[-n] [-q] -w variable=value ...",
progname, "[-n] [-e] -a",
progname, "[-n] [-e] -A",
progname, "[-n] [-q] -f file");
progname, "[-en] variable ...",
progname, "[-nq] -w variable=value ...",
progname, "[-en] -a",
progname, "[-en] -A",
progname, "[-nq] -f file");
exit(1);
}