Skip to content

Commit

Permalink
Link to the clap API in the documentation that says all clap methods …
Browse files Browse the repository at this point in the history
…can be used

This may help hammer home the point for new users who don't know the
clap API and might not realize this is a lot of functionality.
  • Loading branch information
lefth authored and TeXitoi committed Nov 10, 2021
1 parent ffd4772 commit 4c1a8fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@
//! ## Raw methods
//!
//! They are the reason why `structopt` is so flexible. **Every and each method from
//! `clap::App/Arg` can be used this way!**
//! `clap::App/Arg` can be used this way!** See the [`clap::App`
//! methods](https://docs.rs/clap/2/clap/struct.App.html) and [`clap::Arg`
//! methods](https://docs.rs/clap/2/clap/struct.Arg.html).
//!
//! ```
//! # #[derive(structopt::StructOpt)] struct S {
Expand Down

0 comments on commit 4c1a8fc

Please sign in to comment.