pub fn opts_str(&self, names: &[String]) -> Option<String> {
        names.iter().filter_map(|nm| {
            match self.opt_val(&nm) {
                Some(Val(s)) => Some(s),
                _ => None,
            }
        }).next()
    }
/// Returns the string argument supplied to one of several matching options or `None`.
Returns the string argument supplied to one of several matching options or `None`.
Returns the string argument supplied to one of several matching options or ` None ` .
pub fn opts_str(&self, names: &[String]) -> Option<String> {
        names.iter().filter_map(|nm| {
            match self.opt_val(&nm) {
                Some(Val(s)) => Some(s),
                _ => None,
            }
        }).next()
    }
pub fn opts_str ( & self , names : & [ String ] ) -> Option < String > { names . iter ( ) . filter_map ( | nm | { match self . opt_val ( & nm ) { Some ( Val ( s ) ) => Some ( s ) , _ => None , } } ) . next ( ) }
Returns the string argument supplied to one of several matching options or `None`.
Returns the string argument supplied to one of several matching options or ` None ` .
&self
names
&[String]
&self
names
&[String]