]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata: add information about BPF filter usage
authorEric Leblond <eric@regit.org>
Wed, 7 Nov 2012 10:36:01 +0000 (11:36 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 19 Nov 2012 15:36:38 +0000 (16:36 +0100)
src/suricata.c

index f87ea0dbab44540d293abadfbfd4a921b4be26bd..1dc188f79481c0f448f90e4be3e52b9e6ea74f8f 100644 (file)
@@ -461,7 +461,7 @@ void usage(const char *progname)
 #else
     printf("%s %s\n", PROG_NAME, PROG_VER);
 #endif
-    printf("USAGE: %s\n\n", progname);
+    printf("USAGE: %s [OPTIONS] [BPF FILTER]\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");