Skip to content

FlagDescriptor needs a placeholder override for buildUsage's <value> text #4

Description

@figulusproject

buildUsage() hardcodes the value placeholder to for every non-boolean flag. There's no way to get a descriptive one (eg. <dir>, <ms>, <path>) without dropping the auto-generated usage string entirely for a fully manual one.

Todo: add an optional placeholder?: string to FlagDescriptor, defaulting to "value", substituted into the same spot buildUsage already hardcodes "value".

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions