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, Jun 14, 6:00 PM
Unknown Object (File)
Fri, Jun 14, 5:50 PM
Unknown Object (File)
Fri, Jun 14, 1:35 PM
Unknown Object (File)
Fri, Jun 7, 10:10 PM
Unknown Object (File)
Tue, May 28, 9:29 PM
Unknown Object (File)
Mon, May 27, 2:09 AM
Unknown Object (File)
Sun, May 26, 5:08 AM
Unknown Object (File)
Sat, May 25, 7:23 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