[−][src]Macro gong::gong_option_set
Construct an OptionSetEx
Takes:
- A
Vec
of long options - A
Vec
of short options - Mode
- Abbreviation support state
The last two can be left off if both defaults.
Example:
// Without modes, empty option lists let _ = gong_option_set!(vec![], vec![]); // With modes, empty option lists let _ = gong_option_set!(vec![], vec![], gong::options::OptionsMode::Standard, true);