docs(derive): Looks like optional isnt supported

According to #2587
This commit is contained in:
Ed Page 2021-12-23 10:29:31 -06:00
parent 653617d0fd
commit a37f2908c8

View file

@ -138,7 +138,6 @@ And for `Subcommand` variants:
- `skip`: Ignore this variant
- `flatten`: Delegates to the variant for more subcommands (must implement `Subcommand`)
- `subcommand`: Nest subcommands under the current set of subcommands (must implement `Subcommand`)
- When `Option<T>`, the subcommand becomes optional
- `external_subcommand`: `clap::AppSettings::AllowExternalSubcommand`
- Variant must be either `Variant(Vec<String>)` or `Variant(Vec<OsString>)`