diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-18 18:04:12 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-18 18:22:13 +0000 |
commit | 03c3e5e40d6497afa33df1d0b43857157c086729 (patch) | |
tree | 349623e4616e58c94ba0adb86f46fa6d51b06e3b /usr.sbin/bhyve | |
parent | bfe40b692d087cdd5fdeea69e18496ab2a7f67ac (diff) | |
download | src-03c3e5e40d6497afa33df1d0b43857157c086729.tar.gz src-03c3e5e40d6497afa33df1d0b43857157c086729.zip |
bhyve: Fix synopsis in the usage message
In particular:
- Sort short options to align with style(9)
- Add two missing flags: -G and -r
- Drop unnecessary angle brackets for consistency
- Rename the "vm" argument to vmname for consistency with the manual
page
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r-- | usr.sbin/bhyve/bhyverun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index a3e6ef3c4724..8c87a0e7328e 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -222,10 +222,10 @@ usage(int code) { fprintf(stderr, - "Usage: %s [-aehuwxACDHPSWY]\n" + "Usage: %s [-AaCDeHhPSuWwxY]\n" " %*s [-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]\n" - " %*s [-k <file>] [-l <lpc>] [-m mem] [-o <var>=<value>]\n" - " %*s [-p vcpu:hostcpu] [-s <pci>] [-U uuid] [<vm>]\n" + " %*s [-G port] [-k file] [-l lpc] [-m mem] [-o var=value]\n" + " %*s [-p vcpu:hostcpu] [-r file] [-s pci] [-U uuid] vmname\n" " -a: local apic is in xAPIC mode (deprecated)\n" " -A: create ACPI tables\n" " -c: number of cpus and/or topology specification\n" |