diff --git a/include/command.h b/include/command.h index f65284c0a756c817882721012223b1c315d1915e..d36e94e7f175b1bebd7d0bf635b26a1bcdcb2a2e 100644 --- a/include/command.h +++ b/include/command.h @@ -16,7 +16,7 @@ enum command { - MONITOR, STATISTICS, KILL + STATISTICS, KILL }; /** @@ -27,7 +27,6 @@ enum command const char *get_readable_command(command c) { switch(c) { - case MONITOR: return "monitor"; case STATISTICS: return "statistics"; case KILL: return "kill"; default: return ""; diff --git a/main.cpp b/main.cpp index 45050c84f7c5b84c395487b8b75a8ad5b96e575b..da70363ba72dab49be4b13d752b176eeb52b3ce7 100644 --- a/main.cpp +++ b/main.cpp @@ -40,9 +40,6 @@ int main(int argc, char *argv[]) case 'd': run_as_daemon = true; break; - case 'm': - command_list.push_back(MONITOR); - break; case 's': command_list.push_back(STATISTICS); break; @@ -176,7 +173,6 @@ For more info look at the man page. Options: -d Run as daemon - -m Monitor daemon -s Statistics from daemon -k Kill daemon -v Verbose