Page MenuHomeFreeBSD

jls: minor simplification to arg handling
ClosedPublic

Authored by kevans on Jul 25 2025, 8:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 7, 2:47 PM
Unknown Object (File)
Sat, Jul 4, 4:13 PM
Unknown Object (File)
Sat, Jul 4, 12:26 AM
Unknown Object (File)
Tue, Jun 30, 12:50 AM
Unknown Object (File)
Thu, Jun 25, 9:27 AM
Unknown Object (File)
May 15 2026, 3:23 PM
Unknown Object (File)
May 15 2026, 5:14 AM
Unknown Object (File)
May 15 2026, 5:13 AM
Subscribers

Details

Summary

It's easier to reason about the state of argc/argv if we just augment
them by optind after our getopt() loop.

No functional change, but this sets the stage for another change to add
a -c mode to (c)heck for the existence of a jail quietly without
the caller having to worry about spurious output.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable