Lines Matching refs:cmdnum
1334 int path1_mandatory = 0, i, cmdnum, optidx, argc; in parse_args() local
1369 cmdnum = cmds[i].n; in parse_args()
1375 cmdnum = I_SHELL; in parse_args()
1376 } else if (cmdnum == -1) { in parse_args()
1386 switch (cmdnum) { in parse_args()
1451 if (cmdnum != I_RM) in parse_args()
1501 if (cmdnum == I_LUMASK) in parse_args()
1525 return(cmdnum); in parse_args()
1537 int cmdnum, i; in parse_dispatch_command() local
1545 cmdnum = parse_args(&cmd, &ignore_errors, &disable_echo, &aflag, &fflag, in parse_dispatch_command()
1557 switch (cmdnum) { in parse_dispatch_command()
1733 if (cmdnum == I_CHOWN) { in parse_dispatch_command()
1778 fatal("%d is not implemented", cmdnum); in parse_dispatch_command()
1789 else if (cmdnum == I_QUIT) in parse_dispatch_command()