Page MenuHomeFreeBSD

bhyvectl: generate usage from options table
ClosedPublic

Authored by rob.norris_klarasystems.com on Fri, Apr 5, 2:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 9:37 PM
Unknown Object (File)
Wed, May 1, 5:28 AM
Unknown Object (File)
Tue, Apr 23, 2:07 PM
Unknown Object (File)
Mon, Apr 8, 7:24 PM
Unknown Object (File)
Mon, Apr 8, 7:24 PM
Unknown Object (File)
Mon, Apr 8, 1:20 PM
Unknown Object (File)
Fri, Apr 5, 11:47 AM

Details

Summary

The usage text had fallen out of sync with the actually available
options. Rather than keep them in sync by hand, just generate usage from
the available options.

Signed-off-by: Rob Norris <robn@despairlabs.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added a subscriber: markj.

Nice simplification, just one inline style nit.

usr.sbin/bhyvectl/bhyvectl.c
1447
This revision is now accepted and ready to land.Fri, Apr 5, 11:51 AM

Fixing style nit; no space between function name and parens.

This revision now requires review to proceed.Sat, Apr 6, 1:13 AM
This revision is now accepted and ready to land.Mon, Apr 8, 12:52 PM
This revision was automatically updated to reflect the committed changes.