pub fn optflagopt(short_name: &str, long_name: &str, desc: &str, hint: &str) -> OptGroup {
        let len = short_name.len();
        assert!(len == 1 || len == 0);
        OptGroup {
            short_name: short_name.to_owned(),
            long_name: long_name.to_owned(),
            hint: hint.to_owned(),
            desc: desc.to_owned(),
            hasarg: Maybe,
            occur: Optional
        }
    }
/// Create a long option that is optional and takes an optional argument.
Create a long option that is optional and takes an optional argument.
Create a long option that is optional and takes an optional argument .
pub fn optflagopt(short_name: &str, long_name: &str, desc: &str, hint: &str) -> OptGroup {
        let len = short_name.len();
        assert!(len == 1 || len == 0);
        OptGroup {
            short_name: short_name.to_owned(),
            long_name: long_name.to_owned(),
            hint: hint.to_owned(),
            desc: desc.to_owned(),
            hasarg: Maybe,
            occur: Optional
        }
    }
pub fn optflagopt ( short_name : & str , long_name : & str , desc : & str , hint : & str ) -> OptGroup { let len = short_name . len ( ) ; assert ! ( len 1 len 0 ) ; OptGroup { short_name : short_name . to_owned ( ) , long_name : long_name . to_owned ( ) , hint : hint . to_owned ( ) , desc : desc . to_owned ( ) , hasarg : Maybe , occur : Optional } }
Create a long option that is optional and takes an optional argument.
Create a long option that is optional and takes an optional argument .
short_name
&str
long_name
&str
desc
&str
hint
&str
short_name
&str
long_name
&str
desc
&str
hint
&str