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
F89278054: D44673.id.diff
Fri, Jul 26, 1:19 AM
Unknown Object (File)
Thu, Jul 18, 11:54 PM
Unknown Object (File)
Sat, Jul 13, 12:48 PM
Unknown Object (File)
Mon, Jul 1, 6:35 PM
Unknown Object (File)
Sat, Jun 29, 3:22 PM
Unknown Object (File)
Jun 25 2024, 8:37 AM
Unknown Object (File)
Jun 14 2024, 6:00 PM
Unknown Object (File)
Jun 14 2024, 5:50 PM
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