mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
update structopt-derive documentation to reflect unit subcommands change
This commit is contained in:
parent
810831cfe1
commit
f6bd33d5de
1 changed files with 3 additions and 3 deletions
|
@ -217,9 +217,9 @@
|
|||
//!
|
||||
//! #[derive(StructOpt)]
|
||||
//! enum Command {
|
||||
//! Bar {},
|
||||
//! Baz {},
|
||||
//! Quux {}
|
||||
//! Bar,
|
||||
//! Baz,
|
||||
//! Quux
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
|
|
Loading…
Reference in a new issue