From: marcos Date: Thu, 7 Jun 2012 17:58:31 +0000 (-0400) Subject: Added -T switch to suricata output. X-Git-Tag: suricata-1.3rc1~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dfddd0a0f73d1a322c9091d0e3b8cece7a42a8a;p=thirdparty%2Fsuricata.git Added -T switch to suricata output. 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. --- diff --git a/src/suricata.c b/src/suricata.c index 4fa23f71a4..cc6d4e6ce8 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -423,6 +423,7 @@ void usage(const char *progname) #endif printf("USAGE: %s\n\n", progname); printf("\t-c : path to configuration file\n"); + printf("\t-T : test configuration file (use with -c)\n"); printf("\t-i : run in pcap live mode\n"); printf("\t-F : bpf filter file\n"); printf("\t-r : run in pcap file/offline mode\n");