File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3131//! ## Quick Start
3232//!
3333//! You can create an application declaratively with a `struct` and some
34- //! attributes. **This requires enabling the [`derive` feature flag][crate::_features].**
34+ //! attributes.
35+ //!
36+ //! First, ensure `clap` is available with the [`derive` feature flag][crate::_features]:
37+ //! ```console
38+ //! $ cargo add clap --features derive
39+ //! ```
3540//!
3641//! ```rust
3742#![ doc = include_str ! ( "../../examples/tutorial_derive/01_quick.rs" ) ]
Original file line number Diff line number Diff line change 3232//!
3333//! You can create an application with several arguments using usage strings.
3434//!
35+ //! First, ensure `clap` is available:
36+ //! ```console
37+ //! $ cargo add clap
38+ //! ```
39+ //!
3540//! ```rust
3641#![ doc = include_str ! ( "../examples/tutorial_builder/01_quick.rs" ) ]
3742//! ```
You can’t perform that action at this time.
0 commit comments