Lines Matching refs:help
20 int CommandHelper::Start(int* argc, char*** argv, const std::string& help)
24 // Hence print the usage help and continue
28 if (help.compare(SUPPORTED_ARGS[ARG_NONG]) == 0) {
29 // user does not issue help
34 // not know the command usage. Hence print the usage help and continue
45 DoHelp(help);
49 void CommandHelper::DoHelp(const std::string& help)
51 if (help.compare(SUPPORTED_ARGS[ARG_HELP]) == 0) {
53 } else if (help.compare(SUPPORTED_ARGS[ARG_OUTPUT_FILE]) == 0) {
55 } else if (help.compare(SUPPORTED_ARGS[ARG_EXCLUDE_TRACER]) == 0) {
57 } else if (help.compare(SUPPORTED_ARGS[ARG_MAX_STACK_DEPTH]) == 0) {
59 } else if (help.compare(SUPPORTED_ARGS[ARG_DURATION]) == 0) {
61 } else if (help.compare(SUPPORTED_ARGS[ARG_EVENTS]) == 0) {
63 } else if (help.compare(SUPPORTED_ARGS[ARG_PIDS]) == 0) {
65 } else if (help.compare(SUPPORTED_ARGS[ARG_DUMP_EVENTS]) == 0) {
67 } else if (help.compare(SUPPORTED_ARGS[ARG_UNWIND_STACK]) == 0) {
69 } else if (help.compare(SUPPORTED_ARGS[ARG_BPF_LOG_LEVEL]) == 0) {
71 } else if (help.compare(SUPPORTED_ARGS[ARG_BPF_LOG_FILE]) == 0) {
73 } else if (help.compare(SUPPORTED_ARGS[ARG_LIBBPF_LOG_LEVEL]) == 0) {
75 } else if (help.compare(SUPPORTED_ARGS[ARG_LIBBPF_LOG_FILE]) == 0) {
77 } else if (help.compare(SUPPORTED_ARGS[ARG_SERVER_START]) == 0) {
79 } else if (help.compare(SUPPORTED_ARGS[ARG_SERVER_STOP]) == 0) {
81 } else if (help.compare(SUPPORTED_ARGS[ARG_HHLOG_LEVEL]) == 0) {
83 } else if (help.compare(SUPPORTED_ARGS[ARG_HHLOG_FILE]) == 0) {