New commits:
commit ceedaec46342c4756155c984db84ae208fd0719b
Merge: 042ffbc4cf ec0b505742
Author: Andrew Cagney <[email protected]>
Date: Thu Feb 27 08:33:29 2025 -0500
pluto: cleanup option code
- sprinkle OPT_
- drop unused magic
Merge commit 'ec0b505742fd92c7836b6ee440cdb3baffa988f3'
commit ec0b505742fd92c7836b6ee440cdb3baffa988f3
Author: Andrew Cagney <[email protected]>
Date: Wed Feb 26 21:13:21 2025 -0500
pluto: define OPT_ for all options
replace characters which aren't needed as short options aren't
allowed
commit e1fcba95a4a544d82cb62a78e74b3620edd2de68
Author: Andrew Cagney <[email protected]>
Date: Wed Feb 26 10:31:18 2025 -0500
pluto: rework usage() message magic
usage() uses the options table to generate the usage message; cool!
- drop '_', not used
- use .has_arg's no_argument, optional_argument, and required_argument
to select "--opt", "--opt[=ARG]", and "-opt ARG"
- use <argument> as placeholder when argument name was omitted
- add "\0HEADING" to start a new option group (experimental)
- add METAOPT_{RENAME,OBSOLETE,NEWLINE} in attempt to make the magic
characters '>', '!', and '^' less magic
_______________________________________________
Swan-commit mailing list -- [email protected]
To unsubscribe send an email to [email protected]