diff --git a/clap_builder/builder/enum.ArgAction.html b/clap_builder/builder/enum.ArgAction.html index aecdab073e..3b01e488c3 100644 --- a/clap_builder/builder/enum.ArgAction.html +++ b/clap_builder/builder/enum.ArgAction.html @@ -237,7 +237,7 @@
Returns whether this action accepts values on the command-line
default_values
and [env
][super::Arg::env] may still be
processed.
Returns the argument unchanged.
diff --git a/clap_builder/builder/enum.Resettable.html b/clap_builder/builder/enum.Resettable.html index 2168567f63..be3ba993b1 100644 --- a/clap_builder/builder/enum.Resettable.html +++ b/clap_builder/builder/enum.Resettable.html @@ -15,7 +15,7 @@source
. Read moresource
. Read moreReport whether Arg::trailing_var_arg
is set
Reports whether Arg::last
is set
Reports whether Arg::ignore_case
is set
self
and other
values to be equal, and is used
diff --git a/clap_builder/builder/struct.Command.html b/clap_builder/builder/struct.Command.html
index dc9d9a25d8..cdadf2d254 100644
--- a/clap_builder/builder/struct.Command.html
+++ b/clap_builder/builder/struct.Command.html
@@ -1486,7 +1486,7 @@ Returns the argument unchanged.
diff --git a/clap_builder/builder/struct.OsStr.html b/clap_builder/builder/struct.OsStr.html index 658095823f..ec80b7620c 100644 --- a/clap_builder/builder/struct.OsStr.html +++ b/clap_builder/builder/struct.OsStr.html @@ -132,33 +132,33 @@self
and other
values to be equal, and is used
+ Self: Sized + PartialOrd<Self>,self
and other
) and is used by the <=
operator. Read morelet s = "Grüße, Jürgen ❤";
assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
self
and other
values to be equal, and is used
+ Self: Sized + PartialOrd<Self>,self
and other
) and is used by the <=
operator. Read moreself
and other
values to be equal, and is used
diff --git a/clap_builder/builder/struct.ValueParser.html b/clap_builder/builder/struct.ValueParser.html
index 8db4de059b..39f29b03b0 100644
--- a/clap_builder/builder/struct.ValueParser.html
+++ b/clap_builder/builder/struct.ValueParser.html
@@ -158,7 +158,7 @@ Create a ValueParser
with PossibleValuesParser
See PossibleValuesParser
for more flexibility in creating the
PossibleValue
s.
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("color")
@@ -174,7 +174,7 @@ Examples
let color: &String = m.get_one("color")
.expect("default");
assert_eq!(color, "never");
Convert a TypedValueParser
to ValueParser
let mut cmd = clap::Command::new("raw")
@@ -193,10 +193,10 @@ Example
let hostname: &String = m.get_one("hostname")
.expect("required");
assert_eq!(hostname, "rust-lang.org");
Create an i64
ValueParser
from a N..M
range
Create an i64
ValueParser
from a N..M
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("port")
@@ -210,10 +210,10 @@ Examples
let port: i64 = *m.get_one("port")
.expect("required");
assert_eq!(port, 3001);
Create an i64
ValueParser
from a N..
range
Create an i64
ValueParser
from a N..
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("port")
@@ -227,10 +227,10 @@ Examples
let port: i64 = *m.get_one("port")
.expect("required");
assert_eq!(port, 3001);
Create an i64
ValueParser
from a ..
range
Create an i64
ValueParser
from a ..
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("port")
@@ -244,7 +244,7 @@ Examples
let port: i64 = *m.get_one("port")
.expect("required");
assert_eq!(port, 3001);
Create an i64
ValueParser
from a N..=M
range
Create an i64
ValueParser
from a N..=M
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
Create an i64
ValueParser
from a ..M
range
Create an i64
ValueParser
from a ..M
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("port")
@@ -278,10 +278,10 @@ Examples
let port: i64 = *m.get_one("port")
.expect("required");
assert_eq!(port, 80);
Create an i64
ValueParser
from a ..=M
range
Create an i64
ValueParser
from a ..=M
range
See RangedI64ValueParser
for more control over the output type.
See also RangedU64ValueParser
let mut cmd = clap::Command::new("raw")
.arg(
clap::Arg::new("port")
@@ -295,11 +295,11 @@ Examples
let port: i64 = *m.get_one("port")
.expect("required");
assert_eq!(port, 80);
Create a ValueParser
with PossibleValuesParser
See PossibleValuesParser
for more flexibility in creating the
PossibleValue
s.
let possible = vec!["always", "auto", "never"];
let mut cmd = clap::Command::new("raw")
.arg(
@@ -316,7 +316,7 @@ Examples
let color: &String = m.get_one("color")
.expect("default");
assert_eq!(color, "never");
Returns the argument unchanged.
diff --git a/clap_builder/builder/struct.ValueRange.html b/clap_builder/builder/struct.ValueRange.html index 1cbe5673f6..69aa4d2029 100644 --- a/clap_builder/builder/struct.ValueRange.html +++ b/clap_builder/builder/struct.ValueRange.html @@ -23,7 +23,7 @@source
. Read moresource
. Read moreself
and other
values to be equal, and is used
by ==
.!=
. The default implementation is almost always
diff --git a/clap_builder/builder/trait.IntoResettable.html b/clap_builder/builder/trait.IntoResettable.html
index 641e585637..08b0d8687b 100644
--- a/clap_builder/builder/trait.IntoResettable.html
+++ b/clap_builder/builder/trait.IntoResettable.html
@@ -3,4 +3,4 @@
fn into_resettable(self) -> Resettable<T>;
}Convert to the intended resettable type
Convert to the intended resettable type
-