mirror of
https://github.com/clap-rs/clap
synced 2024-09-21 06:41:54 +00:00
Remove some mentioning of structopt
This commit is contained in:
parent
1e7c9efc9d
commit
28ef1e91d4
5 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
//! Somewhat complex example of usage of structopt.
|
//! Somewhat complex example of usage of #[derive(Clap)].
|
||||||
|
|
||||||
use clap::Clap;
|
use clap::Clap;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//! How to parse "key=value" pairs with structopt.
|
//! How to parse "key=value" pairs with #[derive(Clap)].
|
||||||
|
|
||||||
use clap::Clap;
|
use clap::Clap;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//! How to use `#[structopt(skip)]`
|
//! How to use `#[clap(skip)]`
|
||||||
|
|
||||||
use clap::Clap;
|
use clap::Clap;
|
||||||
|
|
||||||
|
|
|
@ -313,7 +313,7 @@ impl Attrs {
|
||||||
} else {
|
} else {
|
||||||
abort!(
|
abort!(
|
||||||
ident.span(),
|
ident.span(),
|
||||||
"#[structopt(default_value)] (without an argument) can be used \
|
"#[clap(default_value)] (without an argument) can be used \
|
||||||
only on field level";
|
only on field level";
|
||||||
|
|
||||||
note = "see \
|
note = "see \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! The preprocessing we apply to doc comments.
|
//! The preprocessing we apply to doc comments.
|
||||||
//!
|
//!
|
||||||
//! structopt works in terms of "paragraphs". Paragraph is a sequence of
|
//! #[derive(Clap)] works in terms of "paragraphs". Paragraph is a sequence of
|
||||||
//! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines.
|
//! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines.
|
||||||
|
|
||||||
use super::attrs::Method;
|
use super::attrs::Method;
|
||||||
|
|
Loading…
Reference in a new issue