Page MenuHomeFreeBSD

bhyvectl: generate usage from options table
ClosedPublic

Authored by rob.norris_klarasystems.com on Apr 5 2024, 2:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 24, 12:09 PM
Unknown Object (File)
Wed, Apr 23, 4:48 AM
Unknown Object (File)
Sun, Apr 20, 9:32 AM
Unknown Object (File)
Sun, Apr 20, 1:09 AM
Unknown Object (File)
Thu, Apr 17, 3:10 AM
Unknown Object (File)
Sun, Apr 13, 12:04 PM
Unknown Object (File)
Fri, Apr 11, 9:41 PM
Unknown Object (File)
Fri, Apr 4, 7:54 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.Apr 5 2024, 11:51 AM

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

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