mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 15:22:30 +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)]
|
//! #[derive(StructOpt)]
|
||||||
//! enum Command {
|
//! enum Command {
|
||||||
//! Bar {},
|
//! Bar,
|
||||||
//! Baz {},
|
//! Baz,
|
||||||
//! Quux {}
|
//! Quux
|
||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue