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)
Sun, Jan 4, 11:31 PM
Unknown Object (File)
Nov 25 2025, 3:18 PM
Unknown Object (File)
Nov 25 2025, 5:09 AM
Unknown Object (File)
Nov 18 2025, 3:08 AM
Unknown Object (File)
Nov 12 2025, 7:41 AM
Unknown Object (File)
Nov 11 2025, 5:28 AM
Unknown Object (File)
Nov 8 2025, 1:15 AM
Unknown Object (File)
Oct 25 2025, 3:58 PM
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