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)
Sat, Oct 11, 7:37 AM
Unknown Object (File)
Sat, Oct 11, 7:37 AM
Unknown Object (File)
Sat, Oct 11, 7:37 AM
Unknown Object (File)
Sat, Oct 11, 12:16 AM
Unknown Object (File)
Sat, Sep 27, 3:23 AM
Unknown Object (File)
Thu, Sep 18, 8:05 PM
Unknown Object (File)
Thu, Sep 18, 7:56 PM
Unknown Object (File)
Sep 14 2025, 7: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