bitflags升级,配套修改

Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
ljy9810
2025-10-27 14:28:43 +08:00
parent 577ee4cdc5
commit 97ba6873c2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ pub(crate) enum AppSettings {
}
bitflags! {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
struct Flags: u64 {
const SC_NEGATE_REQS = 1;
const SC_REQUIRED = 1 << 1;
+1
View File
@@ -49,6 +49,7 @@ pub(crate) enum ArgSettings {
}
bitflags! {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
struct Flags: u32 {
const REQUIRED = 1;
const GLOBAL = 1 << 3;