mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 00:27:13 +00:00
Update src/build/arg/mod.rs
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
parent
a189770e1c
commit
270f9ce37f
1 changed files with 1 additions and 1 deletions
|
@ -2915,7 +2915,7 @@ impl<'help> Arg<'help> {
|
|||
/// ```rust
|
||||
/// # use clap::{Arg, ArgSettings};
|
||||
/// Arg::new("config")
|
||||
/// .required() // equivalent to .setting(ArgSettings::Required)
|
||||
/// .required(true) // equivalent to .setting(ArgSettings::Required)
|
||||
/// # ;
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue