mirror of
https://github.com/openharmony/third_party_rust_clap.git
synced 2026-07-01 12:13:58 -04:00
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user