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)
Nov 22 2024, 8:22 AM
Unknown Object (File)
Oct 22 2024, 6:45 AM
Unknown Object (File)
Oct 22 2024, 6:45 AM
Unknown Object (File)
Oct 22 2024, 6:45 AM
Unknown Object (File)
Oct 22 2024, 6:44 AM
Unknown Object (File)
Oct 22 2024, 6:38 AM
Unknown Object (File)
Oct 17 2024, 6:47 AM
Unknown Object (File)
Oct 4 2024, 9:31 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.