aboutsummaryrefslogtreecommitdiff
path: root/mling/src/cli.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-26 06:27:16 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-26 06:41:01 +0800
commitd1a74ce57e5be72436376a829e9c7e1e7c1c561b (patch)
tree6ac923671fc09f1c47b613869d793ed3e04b91db /mling/src/cli.rs
parente735671acb3a81e1b7e334e56b9ef3963ba0c2fc (diff)
refactor(general_renderer): rename to structural_renderer
Diffstat (limited to 'mling/src/cli.rs')
-rw-r--r--mling/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mling/src/cli.rs b/mling/src/cli.rs
index a6d099b..01a836a 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -12,7 +12,7 @@ use mingling::{
hook::ProgramHook,
macros::{chain, help, pack, program_setup, r_println, renderer},
res::ResExitCode,
- setup::{ExitCodeSetup, GeneralRendererSetup, HelpFlagSetup, QuietFlagSetup},
+ setup::{ExitCodeSetup, StructuralRendererSetup, HelpFlagSetup, QuietFlagSetup},
};
use std::{env::current_dir, path::PathBuf, process::exit, str::FromStr};
@@ -58,7 +58,7 @@ pub fn run() {
// Setups
program.with_setup(HelpFlagSetup::new(["-h", "--help"]));
- program.with_setup(GeneralRendererSetup);
+ program.with_setup(StructuralRendererSetup);
program.with_setup(ExitCodeSetup::default());
program.with_setup(StandardOutputSetup);