Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/intrctl Merge single letter options in usage.
details: https://anonhg.NetBSD.org/src/rev/6c16643322fe
branches: trunk
changeset: 454665:6c16643322fe
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Sep 24 11:31:06 2019 +0000
description:
Merge single letter options in usage.
diffstat:
usr.sbin/intrctl/intrctl.8 | 4 ++--
usr.sbin/intrctl/intrctl.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 6d442e596316 -r 6c16643322fe usr.sbin/intrctl/intrctl.8
--- a/usr.sbin/intrctl/intrctl.8 Tue Sep 24 04:56:54 2019 +0000
+++ b/usr.sbin/intrctl/intrctl.8 Tue Sep 24 11:31:06 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: intrctl.8,v 1.6 2019/09/23 20:15:31 mrg Exp $
+.\" $NetBSD: intrctl.8,v 1.7 2019/09/24 11:31:06 wiz Exp $
.\"
.\" Copyright (c) 2015 Internet Initiative Japan Inc.
.\" All rights reserved.
@@ -56,7 +56,7 @@
If
.Ar cpu_index
is already enabled, this command has no effect.
-.It list Oo Fl c Oc Oo Fl w Ar wait Oc Op Fl z
+.It list Oo Fl cz Oc Oo Fl w Ar wait Oc
for each intrid in the system, display interrupt counts per CPU.
The intrid is an interrupt name such as "ioapic0 pin 22" for x86.
.Pp
diff -r 6d442e596316 -r 6c16643322fe usr.sbin/intrctl/intrctl.c
--- a/usr.sbin/intrctl/intrctl.c Tue Sep 24 04:56:54 2019 +0000
+++ b/usr.sbin/intrctl/intrctl.c Tue Sep 24 11:31:06 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intrctl.c,v 1.10 2019/09/23 20:15:31 mrg Exp $ */
+/* $NetBSD: intrctl.c,v 1.11 2019/09/24 11:31:06 wiz Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: intrctl.c,v 1.10 2019/09/23 20:15:31 mrg Exp $");
+__RCSID("$NetBSD: intrctl.c,v 1.11 2019/09/24 11:31:06 wiz Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
@@ -99,7 +99,7 @@
{
const char *progname = getprogname();
- fprintf(stderr, "usage: %s list [-c] [-w secs] [-z]\n", progname);
+ fprintf(stderr, "usage: %s list [-cz] [-w secs]\n", progname);
fprintf(stderr, " %s affinity -i interrupt_name -c cpu_index\n",
progname);
fprintf(stderr, " %s intr -c cpu_index\n", progname);
Home |
Main Index |
Thread Index |
Old Index