Page MenuHomeFreeBSD

bsdinstall: handle command-line options in targets
Needs ReviewPublic

Authored by khorben on Apr 7 2024, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 6, 1:21 AM
Unknown Object (File)
Sat, Jan 31, 3:48 PM
Unknown Object (File)
Sat, Jan 31, 1:30 AM
Unknown Object (File)
Tue, Jan 20, 10:19 AM
Unknown Object (File)
Mon, Jan 19, 9:24 AM
Unknown Object (File)
Jan 10 2026, 9:36 AM
Unknown Object (File)
Jan 9 2026, 10:18 PM
Unknown Object (File)
Dec 30 2025, 3:17 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