[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-dev] ossec-hids: main.c (HEAD) [meirm]
Module name: ossec-hids
Changes by: meirm 06/09/04 17:39:22
Modified files:
main.c
Log message:
Description: Added -V switch to all daemons
Reviewed by: Daniel Cid, coded by Meir Michanie
Bug:
Index: main.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/logcollector/main.c,v
diff -u -r1.14 -r1.15
--- main.c 29 Jun 2006 21:57:07 -0000 1.14
+++ main.c 4 Sep 2006 20:39:21 -0000 1.15
@@ -48,10 +48,13 @@
OS_SetName(ARGV0);
- while((c = getopt(argc, argv, "tdhD:c:")) != -1)
+ while((c = getopt(argc, argv, "VtdhD:c:")) != -1)
{
switch(c)
{
+ case 'V':
+ print_version();
+ break;
case 'h':
help();
break;
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.