aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/firemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firemon/firemon.c')
-rw-r--r--src/firemon/firemon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c
index b3c435d9e..dad3b0afb 100644
--- a/src/firemon/firemon.c
+++ b/src/firemon/firemon.c
@@ -26,6 +26,7 @@
26#include <sys/stat.h> 26#include <sys/stat.h>
27 27
28pid_t skip_process = 0; 28pid_t skip_process = 0;
29int arg_debug = 0;
29static int arg_route = 0; 30static int arg_route = 0;
30static int arg_arp = 0; 31static int arg_arp = 0;
31static int arg_tree = 0; 32static int arg_tree = 0;
@@ -142,7 +143,8 @@ int main(int argc, char **argv) {
142 printf("firemon version %s\n\n", VERSION); 143 printf("firemon version %s\n\n", VERSION);
143 return 0; 144 return 0;
144 } 145 }
145 146 else if (strcmp(argv[i], "--debug") == 0)
147 arg_debug = 1;
146 // options without a pid argument 148 // options without a pid argument
147 else if (strcmp(argv[i], "--top") == 0) 149 else if (strcmp(argv[i], "--top") == 0)
148 arg_top = 1; 150 arg_top = 1;