Skip to main content

NARGS_OPTIONAL

Constant NARGS_OPTIONAL 

Source
pub const NARGS_OPTIONAL: i32 = -2;
Expand description

Special nargs value indicating optional (? in Python Click). This is used internally to distinguish optional from 0.