Lines Matching refs:cmdnam
141 unsigned char *cmdnam;
177 if ((cmdnam = (unsigned char *)strrchr(av[0], '/')) != 0)
178 cmdnam++;
180 cmdnam = (unsigned char *)av[0];
182 if (EQ((char *)cmdnam, "vi"))
184 else if (EQ(cmdnam, "view")) {
187 } else if (EQ(cmdnam, "vedit")) {
193 } else if (EQ(cmdnam, "edit")) {
325 usage(cmdnam);
366 usage(cmdnam);