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)
Tue, Nov 4, 10:33 PM
Unknown Object (File)
Mon, Nov 3, 8:40 PM
Unknown Object (File)
Sun, Nov 2, 9:13 AM
Unknown Object (File)
Sun, Nov 2, 1:36 AM
Unknown Object (File)
Sat, Nov 1, 6:08 AM
Unknown Object (File)
Tue, Oct 14, 7:30 PM
Unknown Object (File)
Oct 8 2025, 3:43 PM
Unknown Object (File)
Oct 8 2025, 6:46 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