Lines Matching defs:command
41 printf("Usage: hiperf [options] command [args for command]\n");
53 printf("command:\n");
54 for (const auto &command : commands) {
55 if (command.second == nullptr) {
58 printf("\t%s:\t%s\n", command.second->Name().c_str(), command.second->Brief().c_str());
60 printf("\nSee 'hiperf help [command]' for more information on a specific command.\n\n");
62 auto command = SubCommand::FindSubCommand(args.front());
63 if (command != nullptr) {
65 printf("%s\n", command->Help().c_str());
67 printf("Unknown command: '%s'\n", args.front().c_str());