@@ -32,10 +32,14 @@ use crate::util::AnyValueId;
32
32
pub enum ArgAction {
33
33
/// When encountered, store the associated value(s) in [`ArgMatches`][crate::ArgMatches]
34
34
///
35
+ /// <div class="warning">
36
+ ///
35
37
/// **NOTE:** If the argument has previously been seen, it will result in a
36
38
/// [`ArgumentConflict`][crate::error::ErrorKind::ArgumentConflict] unless
37
39
/// [`Command::args_override_self(true)`][crate::Command::args_override_self] is set.
38
40
///
41
+ /// </div>
42
+ ///
39
43
/// # Examples
40
44
///
41
45
/// ```rust
@@ -87,10 +91,14 @@ pub enum ArgAction {
87
91
/// No value is allowed. To optionally accept a value, see
88
92
/// [`Arg::default_missing_value`][super::Arg::default_missing_value]
89
93
///
94
+ /// <div class="warning">
95
+ ///
90
96
/// **NOTE:** If the argument has previously been seen, it will result in a
91
97
/// [`ArgumentConflict`][crate::error::ErrorKind::ArgumentConflict] unless
92
98
/// [`Command::args_override_self(true)`][crate::Command::args_override_self] is set.
93
99
///
100
+ /// </div>
101
+ ///
94
102
/// # Examples
95
103
///
96
104
/// ```rust
@@ -162,10 +170,14 @@ pub enum ArgAction {
162
170
/// No value is allowed. To optionally accept a value, see
163
171
/// [`Arg::default_missing_value`][super::Arg::default_missing_value]
164
172
///
173
+ /// <div class="warning">
174
+ ///
165
175
/// **NOTE:** If the argument has previously been seen, it will result in a
166
176
/// [`ArgumentConflict`][crate::error::ErrorKind::ArgumentConflict] unless
167
177
/// [`Command::args_override_self(true)`][crate::Command::args_override_self] is set.
168
178
///
179
+ /// </div>
180
+ ///
169
181
/// # Examples
170
182
///
171
183
/// ```rust
0 commit comments