git: afd4f7fa2532 - main - bhyve/usage: memory size is not in MB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Mar 2022 11:31:53 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=afd4f7fa25324608c59a56f38cf4c624522c99fc commit afd4f7fa25324608c59a56f38cf4c624522c99fc Author: Corvin Köhne <CorvinK@beckhoff.com> AuthorDate: 2022-03-10 10:30:17 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-03-10 11:31:00 +0000 bhyve/usage: memory size is not in MB For backward compatibility, the memory size will be interpreted in MB if it's smaller than1 MB and has no suffix. Nowadays, the -m switch accepts more than just MB. Respect it in the usage message. Differential Revision: https://reviews.freebsd.org/D34506 Reviewed by: grehan Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 1 month --- usr.sbin/bhyve/bhyverun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 867938af050d..a412785f5a01 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -238,7 +238,7 @@ usage(int code) " -k: key=value flat config file\n" " -K: PS2 keyboard layout\n" " -l: LPC device configuration\n" - " -m: memory size in MB\n" + " -m: memory size\n" " -o: set config 'var' to 'value'\n" " -P: vmexit from the guest on pause\n" " -p: pin 'vcpu' to 'hostcpu'\n"