summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorRyan Zezeski <ryan@zinascii.com>2015-02-01 00:52:10 -0500
committerRichard Lowe <richlowe@richlowe.net>2015-02-03 15:00:10 -0500
commitbd181d5a0c2b96669dcb4aa44619e0b7dbbedab9 (patch)
treefb7a5e7cb890921ff9bf13317ba8ed960f5967f1 /usr/src/cmd
parent2515f5d4dbff605ba645d47a6851d8d0bac5b994 (diff)
downloadillumos-gate-bd181d5a0c2b96669dcb4aa44619e0b7dbbedab9.tar.gz
1100 cpustat usage message is incorrect
Reviewed by: David Höppner <0xffea@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/cpc/common/cpustat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/cpc/common/cpustat.c b/usr/src/cmd/cpc/common/cpustat.c
index 8d405bb625..965fbadfea 100644
--- a/usr/src/cmd/cpc/common/cpustat.c
+++ b/usr/src/cmd/cpc/common/cpustat.c
@@ -251,9 +251,9 @@ main(int argc, char *argv[])
if (errcnt != 0 || opts->dohelp ||
(opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) {
(void) fprintf(opts->dohelp ? stdout : stderr, gettext(
- "Usage:\n\t%s [-c events] [-p period] [-nstD] "
- "[-T d|u] [interval [count]]\n\n"
- "\t-c events specify processor events to be monitored\n"
+ "Usage:\n\t%s -c spec [-c spec]... [-p period] [-T u|d]\n"
+ "\t\t[-sntD] [interval [count]]\n\n"
+ "\t-c spec\t specify processor events to be monitored\n"
"\t-n\t suppress titles\n"
"\t-p period cycle through event list periodically\n"
"\t-s\t run user soaker thread for system-only events\n"