summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcstat.c
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2015-10-02 14:11:44 +0000
committervangyzen <vangyzen@FreeBSD.org>2015-10-02 14:11:44 +0000
commit2101014bc08a28397a999d962792673716d08097 (patch)
treefcf8ba89bc2ecd0364863f02164a890a14e18d8f /usr.sbin/pmcstat/pmcstat.c
parentc52fb6e472dc93b102df025a3c890d7c138ab9d1 (diff)
downloadFreeBSD-src-2101014bc08a28397a999d962792673716d08097.zip
FreeBSD-src-2101014bc08a28397a999d962792673716d08097.tar.gz
MFC r280793
pmcstat.8: fix -a flag description; improve -m flag to match The -a flag reads a file saved by -O, not -o. The -m flag requires the -R flag. Copy that paragraph from -a. Sponsored by: Dell Inc.
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat.c')
-rw-r--r--usr.sbin/pmcstat/pmcstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 9ce4918..5ae53aa 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -938,7 +938,7 @@ main(int argc, char **argv)
errx(EX_USAGE, "ERROR: options -T and -l are mutually "
"exclusive.");
- /* -m option is allowed with -R only. */
+ /* -a and -m require -R */
if (args.pa_flags & FLAG_DO_ANNOTATE && args.pa_inputpath == NULL)
errx(EX_USAGE, "ERROR: option %s requires an input file",
args.pa_plugin == PMCSTAT_PL_ANNOTATE ? "-m" : "-a");
OpenPOWER on IntegriCloud