shorts

Macro shorts 

Source
macro_rules! shorts {
    [$($char:literal),* $(,)?] => { ... };
}
Expand description

Create a Vec for short flags.

ยงExamples

use usage::shorts;

let chars = shorts!['v', 'V', 'd'];
assert_eq!(chars, vec!['v', 'V', 'd']);