update structopt-derive documentation to reflect unit subcommands change

This commit is contained in:
William Yao 2017-07-04 17:11:30 -05:00 committed by Guillaume P
parent 810831cfe1
commit f6bd33d5de

View file

@ -217,9 +217,9 @@
//! //!
//! #[derive(StructOpt)] //! #[derive(StructOpt)]
//! enum Command { //! enum Command {
//! Bar {}, //! Bar,
//! Baz {}, //! Baz,
//! Quux {} //! Quux
//! } //! }
//! ``` //! ```