You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
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 to use_value_delimiter and requires_delimiter to requires_value_delimiter to disambiguate
Agreed. It parallels value_terminator.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue by epage
Monday Nov 15, 2021 at 14:52 GMT
Originally opened as clap-rs/clap#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
The text was updated successfully, but these errors were encountered: