has-flag-rust
Check if args has a specific flag.
IMPORTANT: This crate is base on has-flag, Thanks author for his efforts
Correctly stops looking after an -- argument terminator.
Usage
command input
use has_flag;
use args;
has_flag;
//=> true
has_flag ;
//=> true
has_flag;
//=> true
has_flag;
//=> true
has_flag;
//=> true
has_flag;
//=> false
has_flag;
//=> false