]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Added -T switch to suricata output.
authormarcos <marcos.e.rodriguez@gmail.com>
Thu, 7 Jun 2012 17:58:31 +0000 (13:58 -0400)
committerVictor Julien <victor@inliniac.net>
Mon, 11 Jun 2012 14:05:49 +0000 (16:05 +0200)
Simply added the -T to be printed out when suricata is run without any
arguments.  The capability to test a configuration file has been in
suricata for some time, just doesn't show up as an option right now.

src/suricata.c

index 4fa23f71a4dd8d597715985a0616de03284e2f83..cc6d4e6ce8702dc07a2dfd16a4b257d97922bdb4 100644 (file)
@@ -423,6 +423,7 @@ void usage(const char *progname)
 #endif
     printf("USAGE: %s\n\n", progname);
     printf("\t-c <path>                    : path to configuration file\n");
+    printf("\t-T                           : test configuration file (use with -c)\n");
     printf("\t-i <dev or ip>               : run in pcap live mode\n");
     printf("\t-F <bpf filter file>         : bpf filter file\n");
     printf("\t-r <path>                    : run in pcap file/offline mode\n");