]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 269727:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Sep 2015 00:11:06 +0000 (00:11 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Sep 2015 00:11:06 +0000 (00:11 +0000)
commitcd7d956f4e8bc288778974549dfc50a6e4118bee
tree0b8524c29c7338ed3d2aa55216116bbd698ebea3
parent1fe27cb74aa1a443d6581b0ea582df8d5aae8c76
MFC 269727:
Update vmstat usage for last-argument count/wait parameters

Correct the usage in both the manpage and in usage() to indicate
that the wait interval and repetition count may be given either
with the respective -w/-c arguments, or as the final positional
arguments. [0]

The corresponding code to implement the positional arguments has
been conditional on the (always-enabled) BACKWARD_COMPATIBILITY
macro since the original 4.4-lite import.  It's no longer reasonable
to remove the functionality, so remove the macro and conditional
instead.

Note that multiple disks may be given on the command line.

While here, sort arguments and apply minor mdoc fixes.

PR: 184755 [0]

git-svn-id: svn://svn.freebsd.org/base/stable/10@288407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/vmstat/vmstat.8
usr.bin/vmstat/vmstat.c