@@ -1650,6 +1650,8 @@ impl Arg {
1650
1650
/// at runtime, nor were the conditions met for `Arg::default_value_if`, the `Arg::default_value`
1651
1651
/// will be applied.
1652
1652
///
1653
+ /// Like with command-line values, this will be split by [`Arg::value_delimiter`].
1654
+ ///
1653
1655
/// # Examples
1654
1656
///
1655
1657
/// First we use the default value without providing any value at runtime.
@@ -1747,6 +1749,8 @@ impl Arg {
1747
1749
/// [`.require_equals(true)`][Arg::require_equals] configuration option. These are required in
1748
1750
/// order to unambiguously determine what, if any, value was supplied for the argument.
1749
1751
///
1752
+ /// Like with command-line values, this will be split by [`Arg::value_delimiter`].
1753
+ ///
1750
1754
/// # Examples
1751
1755
///
1752
1756
/// For POSIX style `--color`:
@@ -1893,6 +1897,8 @@ impl Arg {
1893
1897
/// [`ArgMatches::get_one`][crate::ArgMatches::get_one] will
1894
1898
/// return the default specified.
1895
1899
///
1900
+ /// Like with command-line values, this will be split by [`Arg::value_delimiter`].
1901
+ ///
1896
1902
/// # Examples
1897
1903
///
1898
1904
/// In this example, we show the variable coming from the environment:
@@ -2734,6 +2740,8 @@ impl Arg {
2734
2740
/// and `Arg::default_value_if`, and the user **did not** provide this arg at runtime, nor were
2735
2741
/// the conditions met for `Arg::default_value_if`, the `Arg::default_value` will be applied.
2736
2742
///
2743
+ /// Like with command-line values, this will be split by [`Arg::value_delimiter`].
2744
+ ///
2737
2745
/// # Examples
2738
2746
///
2739
2747
/// First we use the default value only if another arg is present at runtime.
@@ -2873,6 +2881,8 @@ impl Arg {
2873
2881
/// **NOTE**: The conditions are stored in order and evaluated in the same order. I.e. the first
2874
2882
/// if multiple conditions are true, the first one found will be applied and the ultimate value.
2875
2883
///
2884
+ /// Like with command-line values, this will be split by [`Arg::value_delimiter`].
2885
+ ///
2876
2886
/// # Examples
2877
2887
///
2878
2888
/// First we use the default value only if another arg is present at runtime.
0 commit comments