vmctl(8): Add 'vmctl status -r'
authormlarkin <mlarkin@openbsd.org>
Thu, 2 May 2024 15:46:10 +0000 (15:46 +0000)
committermlarkin <mlarkin@openbsd.org>
Thu, 2 May 2024 15:46:10 +0000 (15:46 +0000)
commit986b002c40dbe3ca91f8b84f0066a3f37a55585e
treed9e86f8b5e74ea5f9201d31ced62bf3a56d09ae1
parent7d86db2fa487952b9c80bdf13f0376547756fb70
vmctl(8): Add 'vmctl status -r'

The -r option can be used to limit the output of 'vmctl status' to only
running VMs. This is useful for machines that have a large number of
stopped VMs, as the running ones are printed at the top by default and
previously required scrolling back to see the list of running VMs, and/or
using 'grep RUNNING'.

There is no change for users not using -r.

ok dv
usr.sbin/vmctl/main.c
usr.sbin/vmctl/vmctl.8
usr.sbin/vmctl/vmctl.c