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
F109374383: D44641.id136586.diff
Tue, Feb 4, 5:53 AM
Unknown Object (File)
Sat, Jan 25, 5:05 PM
Unknown Object (File)
Tue, Jan 14, 2:23 AM
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

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 56919
Build 53807: arc lint + arc unit

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.