aboutsummaryrefslogtreecommitdiff
path: root/examples/example-clap-binding/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-19 10:32:33 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-19 10:45:07 +0800
commit320ea9a3a418daa17174dc78f1262509b96b13b9 (patch)
tree3b055fb4dcb0b069ddf779f9a2c42c75de0813a2 /examples/example-clap-binding/src
parentddf9e740c09edd02882cb325e367f70cf16b645f (diff)
fix!: rename `Groupped` to `Grouped` across the codebase
Diffstat (limited to 'examples/example-clap-binding/src')
-rw-r--r--examples/example-clap-binding/src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/example-clap-binding/src/main.rs b/examples/example-clap-binding/src/main.rs
index d99f8d1..0f839c8 100644
--- a/examples/example-clap-binding/src/main.rs
+++ b/examples/example-clap-binding/src/main.rs
@@ -38,7 +38,7 @@
//! For more information, try '--help'.
//! ```
-use mingling::{Groupped, macros::dispatcher_clap, prelude::*, setup::BasicProgramSetup};
+use mingling::{Grouped, macros::dispatcher_clap, prelude::*, setup::BasicProgramSetup};
use std::io::Write;
fn main() {
@@ -67,10 +67,10 @@ fn main() {
// Implement Clap Parser, and bind to Dispatcher
// _______________________________ Default trait, provides fallback on parse failure
// / ______________________ clap::Parser, parsing logic implemented by Clap
-// | / ________ Implement mingling::Groupped
+// | / ________ Implement mingling::Grouped
// | | / to ensure Mingling can recognize the type
-// vvvvvvv vvvvvvvvvvvv vvvvvvvv
-#[derive(Default, clap::Parser, Groupped)]
+// vvvvvvv vvvvvvvvvvvv vvvvvvv
+#[derive(Default, clap::Parser, Grouped)]
#[dispatcher_clap(
"greet", CMDGreet, // Bind EntryGreet to "greet" command
help = true, // Generate clap help for EntryGreet