Skip to content
Snippets Groups Projects
Commit 12089093 authored by dnsadmin's avatar dnsadmin
Browse files

Monitorozás nem lesz (#8)

Akit érdekel, nézzen logot!
parent b0c255f8
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
enum command enum command
{ {
MONITOR, STATISTICS, KILL STATISTICS, KILL
}; };
/** /**
...@@ -27,7 +27,6 @@ enum command ...@@ -27,7 +27,6 @@ enum command
const char *get_readable_command(command c) { const char *get_readable_command(command c) {
switch(c) switch(c)
{ {
case MONITOR: return "monitor";
case STATISTICS: return "statistics"; case STATISTICS: return "statistics";
case KILL: return "kill"; case KILL: return "kill";
default: return ""; default: return "";
......
...@@ -40,9 +40,6 @@ int main(int argc, char *argv[]) ...@@ -40,9 +40,6 @@ int main(int argc, char *argv[])
case 'd': case 'd':
run_as_daemon = true; run_as_daemon = true;
break; break;
case 'm':
command_list.push_back(MONITOR);
break;
case 's': case 's':
command_list.push_back(STATISTICS); command_list.push_back(STATISTICS);
break; break;
...@@ -176,7 +173,6 @@ For more info look at the man page. ...@@ -176,7 +173,6 @@ For more info look at the man page.
Options: Options:
-d Run as daemon -d Run as daemon
-m Monitor daemon
-s Statistics from daemon -s Statistics from daemon
-k Kill daemon -k Kill daemon
-v Verbose -v Verbose
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment