Page MenuHomeFreeBSD

bsdinstall: handle command-line options in targets
Needs ReviewPublic

Authored by khorben_defora.org on Apr 7 2024, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 6:34 PM
Unknown Object (File)
Sun, Dec 1, 4:07 AM
Unknown Object (File)
Oct 19 2024, 8:48 PM
Unknown Object (File)
Oct 19 2024, 8:48 PM
Unknown Object (File)
Oct 19 2024, 8:27 PM
Unknown Object (File)
Oct 2 2024, 12:19 PM
Unknown Object (File)
Oct 2 2024, 11:15 AM
Unknown Object (File)
Oct 2 2024, 9:14 AM
Subscribers

Details

Summary

This adds a usage screen to bsdinstall(8).

This will allow adding support for graphical mode with "-X", as is already the case with bsdconfig(8).

The changes in the targets are necessary in this regard, as processing the "-X" flag in bsdconfig's dialog.subr will expect it as a parameter there.

Test Plan
$ bsdinstall -?
Illegal option -?
Usage: bsdinstall [-dD:][target][...]
  -d    Enable debugging output
  -D    Save debugging output to a file

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped