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)
Mon, Mar 9, 2:44 PM
Unknown Object (File)
Wed, Mar 4, 3:48 PM
Unknown Object (File)
Wed, Mar 4, 1:19 AM
Unknown Object (File)
Wed, Feb 18, 7:32 AM
Unknown Object (File)
Feb 6 2026, 1:21 AM
Unknown Object (File)
Jan 31 2026, 3:48 PM
Unknown Object (File)
Jan 31 2026, 1:30 AM
Unknown Object (File)
Jan 20 2026, 10:19 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