Skip to content

Commit

Permalink
docs: Clarify when quoting is required for arg
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 21, 2022
1 parent b44dbdf commit a76f622
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ macro_rules! arg_impl {
/// A long flag is a `--` followed by either a bare-word or a string, like `--foo` or
/// `--"foo"`.
///
/// **NOTE:** Dashes in the long name (e.g. `--foo-bar`) is not supported and quoting is required
/// (e.g. `--"foo-bar"`).
///
/// See [`Arg::long`][crate::Arg::long].
///
/// ### Values (Value Notation)
Expand Down

0 comments on commit a76f622

Please sign in to comment.