HomeFreeBSD

daemon: add long_opts

Description

daemon: add long_opts

Long options improve readability of scripts, makes code comprehension
easier. This patch adds long options while preserving the existing CLI
interface.

Also --help/-h option is added.

Reviewed by: allanjude, pauamma (both earlier versions), kevans
Differential Revision: https://reviews.freebsd.org/D38244

Details

Provenance
ihor_antonovs.familyAuthored on Feb 10 2023, 4:36 AM
kevansCommitted on Feb 10 2023, 4:36 AM
Reviewer
allanjude
Differential Revision
D38244: daemon: add long_opts
Parents
rGf44df7959ae2: libc: ssp: remove some GCC 4.2 remnants
Branches
Unknown
Tags
Unknown