Home
last modified time | relevance | path

Searched refs:matchcmd (Results 1 – 1 of 1) sorted by relevance

/external/mmc-utils/
Dmmc.c350 struct Command *matchcmd=0; in parse_args() local
396 matchcmd = cp; in parse_args()
397 *nargs_ = argc-matchcmd->ncmds-1; in parse_args()
398 *cmd_ = matchcmd->verb; in parse_args()
399 *args_ = argv+matchcmd->ncmds+1; in parse_args()
410 if(!matchcmd){ in parse_args()
416 if(check_ambiguity(matchcmd, argv)) in parse_args()
420 if (matchcmd->nargs < 0 && matchcmd->nargs < -*nargs_ ){ in parse_args()
422 matchcmd->verb, -matchcmd->nargs); in parse_args()
425 if(matchcmd->nargs >= 0 && matchcmd->nargs != *nargs_ && matchcmd->nargs != 999){ in parse_args()
[all …]