From dbd013eab1e5ea8842afbaabcbd4873c174a1c5d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 7 Nov 2023 13:47:05 -0600 Subject: [PATCH] docs(ref): Be clear about implicit ArgGroup behavior --- src/_derive/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_derive/mod.rs b/src/_derive/mod.rs index 0c479a23696..0e9e18d98c6 100644 --- a/src/_derive/mod.rs +++ b/src/_derive/mod.rs @@ -203,6 +203,10 @@ //! - `skip [= ]`: Ignore this field, filling in with `` //! - Without ``: fills the field with `Default::default()` //! +//! Note: +//! - For `struct`s, [`multiple = true`][crate::ArgGroup::multiple] is implied +//! - `enum` support is tracked at [#2621](https://github.com/clap-rs/clap/issues/2621) +//! //! ### Arg Attributes //! //! These correspond to a [`Arg`][crate::Arg].