Lines Matching defs:subcommand
572 // The code assumes that the first passed argument is the subcommand to be
575 // The rest of the arguments are the arguments specific to each subcommand (see
581 char* subcommand = NULL;
592 "Expected command line args of [subcommand], but got %d arguments.\n";
598 subcommand = argv[1];
600 if (strcmp(subcommand, "start") == 0)
606 else if (strcmp(subcommand, "stop") == 0)
612 else if (strcmp(subcommand, "launch") == 0)
617 else if (strcmp(subcommand, "run") == 0)
624 char * msg = "Unknown subcommand: [%s]\n";
625 debugError(msg, subcommand);
626 fprintf(stderr, msg, subcommand);