Lines Matching defs:subcommand
71 "Usage: zhack [-c cachefile] [-d dir] <subcommand> <args> ...\n"
72 "where <subcommand> <args> is one of the following:\n"
472 char *subcommand;
482 subcommand = argv[0];
483 if (strcmp(subcommand, "stat") == 0) {
485 } else if (strcmp(subcommand, "enable") == 0) {
487 } else if (strcmp(subcommand, "ref") == 0) {
490 (void) fprintf(stderr, "error: unknown subcommand: %s\n",
491 subcommand);
945 char *subcommand;
956 subcommand = argv[0];
957 if (strcmp(subcommand, "repair") == 0) {
960 (void) fprintf(stderr, "error: unknown subcommand: %s\n",
961 subcommand);
974 const char *subcommand;
1007 subcommand = argv[0];
1009 if (strcmp(subcommand, "feature") == 0) {
1011 } else if (strcmp(subcommand, "label") == 0) {
1014 (void) fprintf(stderr, "error: unknown subcommand: %s\n",
1015 subcommand);