Skip to content

Commit

Permalink
docs: update Arg::default_missing_value description
Browse files Browse the repository at this point in the history
Fix minor grammatical error and reword for clarity.
  • Loading branch information
hawkinsw committed Jun 12, 2024
1 parent 6c6839a commit 9537fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clap_builder/src/builder/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1739,8 +1739,8 @@ impl Arg {

/// Value for the argument when the flag is present but no value is specified.
///
/// This configuration option is often used to give the user a shortcut and allow them to
/// efficiently specify an option argument without requiring an explicitly value. The `--color`
/// Configure a command-line argument that gives the user a shortcut and allows them to
/// efficiently select an option without requiring an explicit value. The `--color`
/// argument is a common example. By supplying a default, such as `default_missing_value("always")`,
/// the user can quickly just add `--color` to the command line to produce the desired color output.
///
Expand Down

0 comments on commit 9537fa7

Please sign in to comment.