Searched refs:longopt (Results 1 – 2 of 2) sorted by relevance
103 const struct option *longopt, int *option ) { in match_long_option() argument108 optlen = strlen ( longopt->name ); in match_long_option()109 if ( strncmp ( opttext, longopt->name, optlen ) != 0 ) in match_long_option()126 if ( ( longopt->has_arg != no_argument ) && ( ! argument ) ) in match_long_option()130 if ( ( longopt->has_arg == required_argument ) && ( ! argument ) ) { in match_long_option()132 longopt->name ); in match_long_option()138 if ( ( longopt->has_arg == no_argument ) && argument ) { in match_long_option()139 printf ( "Option \"%s\" takes no argument\n", longopt->name ); in match_long_option()146 if ( longopt->flag ) { in match_long_option()147 *(longopt->flag) = longopt->val; in match_long_option()[all …]
395 bool longopt = FALSE; in getparameter() local417 longopt = TRUE; in getparameter()446 if(!longopt) { in getparameter()470 if(!longopt && parse[1]) { in getparameter()1550 if(longopt) in getparameter()1858 } while(!longopt && !singleopt && *++parse && !*usedarg); in getparameter()