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)
Tue, Apr 22, 6:37 PM
Unknown Object (File)
Tue, Apr 22, 6:22 PM
Unknown Object (File)
Tue, Apr 22, 6:05 PM
Unknown Object (File)
Thu, Apr 17, 2:16 AM
Unknown Object (File)
Sun, Apr 13, 8:17 AM
Unknown Object (File)
Mar 24 2025, 2:29 AM
Unknown Object (File)
Mar 15 2025, 9:23 PM
Unknown Object (File)
Feb 26 2025, 4:02 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