From 12089093252b3af53e41834a3c569e352c69fee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eckl=2C=20M=C3=A1t=C3=A9?= <ecklm94@gmail.com> Date: Thu, 26 May 2016 23:51:40 +0200 Subject: [PATCH] =?UTF-8?q?Monitoroz=C3=A1s=20nem=20lesz=20(#8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Akit érdekel, nézzen logot! --- include/command.h | 3 +-- main.cpp | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/command.h b/include/command.h index f65284c..d36e94e 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 45050c8..da70363 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 -- GitLab