svn commit: r321283 - head/usr.bin/procstat
Ngie Cooper
ngie at FreeBSD.org
Thu Jul 20 05:43:49 UTC 2017
Author: ngie
Date: Thu Jul 20 05:43:48 2017
New Revision: 321283
URL: https://svnweb.freebsd.org/changeset/base/321283
Log:
procstat(8): clarify program usage
- Visualize mutually exclusive options and their corresponding
arguments.
- Try to make the subtleties that are expressed in the code, and
potentially in the manpages, more apparent.
Modified:
head/usr.bin/procstat/procstat.c
Modified: head/usr.bin/procstat/procstat.c
==============================================================================
--- head/usr.bin/procstat/procstat.c Thu Jul 20 04:32:06 2017 (r321282)
+++ head/usr.bin/procstat/procstat.c Thu Jul 20 05:43:48 2017 (r321283)
@@ -50,12 +50,23 @@ static void
usage(void)
{
- xo_error("usage: procstat [--libxo] [-CHhn] [-M core] "
+ xo_error(
+ "usage: procstat [--libxo] [-Hhn] [-M core] "
"[-N system] [-w interval]\n"
- " [-b | -c | -e | -f | -i | -j | -k | "
- "-l | -L | -r | -s | \n"
- " -S | -t | -v | -x]\n"
- " [-a | pid | core ...]\n");
+ " [-S | -b | -c | -e | -i | -j | -k | -kk | "
+ "-l | -r | -s | \n"
+ " -t | -v | -x]\n"
+ " [-a | pid ... | core ...]\n"
+ " procstat [--libxo] -Cf [-hn] [-M core] "
+ "[-N system] [-a | pid ... | core ...]\n"
+ " [-S | -b | -c | -e | -i | -j | -k | -kk | "
+ "-l | -r | -s | \n"
+ " procstat [--libxo] -L [-hn] [-M core] "
+ "[-N system] [-w interval]\n"
+ " [-S | -b | -c | -e | -i | -j | -k | -kk | "
+ "-l | -r | -s | \n"
+ " -t | -v | -x]\n"
+ " [core ...]\n");
xo_finish();
exit(EX_USAGE);
}
More information about the svn-src-head
mailing list