From 4c1a8fcb2f3f9d1359c81f5ccb12657a0f8e7a8f Mon Sep 17 00:00:00 2001 From: Dan Zwell Date: Wed, 10 Nov 2021 22:00:29 +0800 Subject: [PATCH] Link to the clap API in the documentation that says all clap methods 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. --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f0760ca..dc4a9ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 {