We have some structopt(rename_all = "lowercase") procedural macros around the configuration structs (like in here).
These macros are useful in option structs (like the example above). They render the command line options in lowercase chars and remove underscores from them.
But this particular instance should not have that macro applied since it's not a command line option.
Because of this macro, this error message shows <userid>:
Instead of <user_id> or <user-id>.
We have some
structopt(rename_all = "lowercase")
procedural macros around the configuration structs (like in here).These macros are useful in option structs (like the example above). They render the command line options in lowercase chars and remove underscores from them.
But this particular instance should not have that macro applied since it's not a command line option. Because of this macro, this error message shows
<userid>
: Instead of<user_id>
or<user-id>
.We prefer one of (
<user_id>
/<user-id>
).