diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-30 17:26:03 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-30 17:26:03 +0800 |
| commit | 4421fb2794f2af292f8781e7d12ae002a3f10a9b (patch) | |
| tree | 31a358dd80a7e1d3855f4a6281eaf5e010bfb429 /mingling_core/src/program | |
| parent | c9e3676e0e2353dc09471c783a3a263dee0fdcb1 (diff) | |
Add argument parser module with picker API
Diffstat (limited to 'mingling_core/src/program')
| -rw-r--r-- | mingling_core/src/program/flag.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling_core/src/program/flag.rs b/mingling_core/src/program/flag.rs index 3a678be..81126e5 100644 --- a/mingling_core/src/program/flag.rs +++ b/mingling_core/src/program/flag.rs @@ -48,6 +48,7 @@ impl std::ops::Deref for Flag { } } +#[macro_export] macro_rules! special_flag { ($args:expr, $flag:expr) => {{ let flag = $flag; @@ -57,6 +58,7 @@ macro_rules! special_flag { }}; } +#[macro_export] macro_rules! special_argument { ($args:expr, $flag:expr) => {{ let flag = $flag; |
