diff --git a/src/app/settings.rs b/src/app/settings.rs index d2f78f7c..c77fe3e5 100644 --- a/src/app/settings.rs +++ b/src/app/settings.rs @@ -5,7 +5,7 @@ use std::ops::BitOr; bitflags! { struct Flags: u64 { - const SC_NEGATE_REQS = 1 << 0; + const SC_NEGATE_REQS = 1; const SC_REQUIRED = 1 << 1; const A_REQUIRED_ELSE_HELP = 1 << 2; const GLOBAL_VERSION = 1 << 3; diff --git a/src/args/settings.rs b/src/args/settings.rs index 55ab7428..c453e4a2 100644 --- a/src/args/settings.rs +++ b/src/args/settings.rs @@ -4,7 +4,7 @@ use std::str::FromStr; bitflags! { struct Flags: u16 { - const REQUIRED = 1 << 0; + const REQUIRED = 1; const MULTIPLE = 1 << 1; const EMPTY_VALS = 1 << 2; const GLOBAL = 1 << 3;