`#[options(name = ...)]` seems to be undocumented.
vi opened this issue · comments
Vitaly Shukela commented
docs.rs page list possible variants for #[options(...)]
, but I don't see name
there.
It can be used to rename subcommands.
Murarth commented
You're right. Thanks for noticing and reporting this. I've just pushed a commit to document the #[options(...)]
attribute for enum
types.