mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Revert "Revert "Revert "docs: Clarify corner caseses with default values"""
This reverts commit 98f696c0a6
.
This commit is contained in:
parent
9dd59ad341
commit
45f281b67e
2 changed files with 0 additions and 22 deletions
|
@ -1044,8 +1044,6 @@ impl<'help> Arg<'help> {
|
|||
///
|
||||
/// **NOTE** [`Arg::exclusive(true)`] allows specifying an argument which conflicts with every other argument.
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -1096,8 +1094,6 @@ impl<'help> Arg<'help> {
|
|||
///
|
||||
/// **NOTE:** [`Arg::exclusive(true)`] allows specifying an argument which conflicts with every other argument.
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -1331,8 +1327,6 @@ impl<'help> Arg<'help> {
|
|||
///
|
||||
/// **NOTE:** [Conflicting] rules and [override] rules take precedence over being required
|
||||
///
|
||||
/// **NOTE:** This argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -1394,8 +1388,6 @@ impl<'help> Arg<'help> {
|
|||
/// if this arg (`self`) is present and its value equals to `val`.
|
||||
/// If it does, `another_arg` will be marked as required.
|
||||
///
|
||||
/// **NOTE:** This argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -1517,8 +1509,6 @@ impl<'help> Arg<'help> {
|
|||
/// Allows specifying that this argument is [required] only if the specified
|
||||
/// `arg` is present at runtime and its value equals `val`.
|
||||
///
|
||||
/// **NOTE:** This argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -1795,8 +1785,6 @@ impl<'help> Arg<'help> {
|
|||
/// **NOTE:** [Conflicting] rules and [override] rules take precedence over being required
|
||||
/// by default.
|
||||
///
|
||||
/// **NOTE:** This argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
|
|
@ -249,8 +249,6 @@ impl<'help> ArgGroup<'help> {
|
|||
/// Use of more than one arg is an error." Vice setting `ArgGroup::multiple(true)` which
|
||||
/// states, '*At least* one arg from this group must be used. Using multiple is OK."
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -286,8 +284,6 @@ impl<'help> ArgGroup<'help> {
|
|||
///
|
||||
/// **NOTE:** The name provided may be an argument, or group name
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -323,8 +319,6 @@ impl<'help> ArgGroup<'help> {
|
|||
///
|
||||
/// **NOTE:** The names provided may be an argument, or group name
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -363,8 +357,6 @@ impl<'help> ArgGroup<'help> {
|
|||
///
|
||||
/// **NOTE:** The name provided may be an argument, or group name
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
@ -397,8 +389,6 @@ impl<'help> ArgGroup<'help> {
|
|||
///
|
||||
/// **NOTE:** The names provided may be an argument, or group name
|
||||
///
|
||||
/// **NOTE:** An argument is considered present when there is a [`Arg::default_value`]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
|
|
Loading…
Reference in a new issue