top: Sync usage and synopsis

Switching between io and cpu sorting uses a great example in the usage.
[-m io | cpu]. Use that everywhere.

MFC after:		3 days
Reviewed by:		mhorne
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49515
This commit is contained in:
Alexander Ziaee 2025-03-26 00:42:51 -04:00
parent 75a320e431
commit 187d954eab
No known key found for this signature in database
GPG key ID: 0A8F850BCDEF4511
2 changed files with 3 additions and 3 deletions

View file

@ -6,10 +6,10 @@
.Nd display and update information about the top cpu processes
.Sh SYNOPSIS
.Nm
.Op Fl abCHIijnPpqSTtuvxz
.Op Fl abCHIijnPqSTtuvwz
.Op Fl d Ar count
.Op Fl J Ar jail
.Op Fl m Ar mode
.Op Fl m Ar cpu | io
.Op Fl o Ar field
.Op Fl p Ar pid
.Op Fl s Ar time

View file

@ -463,7 +463,7 @@ main(int argc, const char *argv[])
default:
errx(1,
"[-abCHIijnPqStuvwz] [-d count] [-J jail] [-m cpu | io] [-o field]\n"
"[-abCHIijnPqSTtuvwz] [-d count] [-J jail] [-m cpu | io] [-o field]\n"
" [-p pid] [-s time] [-U username] [number]");
}
}