pub fn optional(name: &str, help: &str, short_name: Option<char>) -> Spec {
        Spec {
            name: name.to_owned(),
            help: help.to_owned(),
            short_name: short_name,
            flag_type: Type::Optional,
        }
    }
/// Constructs a Spec which describes an optional named flag. This flag
/// may not have a value after we are finished parsing.
Constructs a Spec which describes an optional named flag. This flag
may not have a value after we are finished parsing.
Constructs a Spec which describes an optional named flag . This flag may not have a value after we are finished parsing .
pub fn optional(name: &str, help: &str, short_name: Option<char>) -> Spec {
        Spec {
            name: name.to_owned(),
            help: help.to_owned(),
            short_name: short_name,
            flag_type: Type::Optional,
        }
    }
pub fn optional ( name : & str , help : & str , short_name : Option < char > ) -> Spec { Spec { name : name . to_owned ( ) , help : help . to_owned ( ) , short_name : short_name , flag_type : Type :: Optional , } }
Constructs a Spec which describes an optional named flag.
Constructs a Spec which describes an optional named flag .
name
&str
help
&str
short_name
Option<char>
name
&str
help
&str
short_name
Option<char>