murarth / gumdrop

Rust option parser with custom derive support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`#[options(name = ...)]` seems to be undocumented.

vi opened this issue · comments

docs.rs page list possible variants for #[options(...)], but I don't see name there.
It can be used to rename subcommands.

You're right. Thanks for noticing and reporting this. I've just pushed a commit to document the #[options(...)] attribute for enum types.