Open epage opened 2 years ago
Comment by mkayaalp Friday Nov 19, 2021 at 06:20 GMT
- Come up with a name for this separator
I don't think we'll be able to come up with anything that does not include the word "separator" in it and calling it simply the separator
would be no better than calling the other one simply the delimiter
. So, I think you got in the title. I vote name_value_separator
. It does separate the name
and the value
from each other after all.
- Rename
use_delimiter
touse_value_delimiter
andrequires_delimiter
torequires_value_delimiter
to disambiguate
Agreed. It parallels value_terminator
.
Issue by epage Monday Nov 15, 2021 at 14:52 GMT Originally opened as https://github.com/clap-rs/clap/issues/3026
Please complete the following tasks
Clap Version
master
Describe your use case
A part of supporting non-unix syntax (#2468) is supporting a custom name/value separator.
Example:
Describe the solution you'd like
use_<name>
,requires_<name>
, and<name>_delimiter
likeuse_delimiter
,requires_delimiter
, andvalue_delimiter
requires_equals
in favor ofrequires_<name>
(especially since it references a specific syntax)use_delimiter
touse_value_delimiter
andrequires_delimiter
torequires_value_delimiter
to disambiguateAlternatives, if applicable
No response
Additional Context
No response