[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/remoted/main.c,v
diff -u -r1.11 -r1.12
--- main.c 28 Aug 2006 18:45:27 -0000 1.11
+++ main.c 4 Sep 2006 20:39:22 -0000 1.12
@@ -31,8 +31,11 @@
OS_SetName(ARGV0);
- while((c = getopt(argc, argv, "dthu:g:D:")) != -1){
+ while((c = getopt(argc, argv, "Vdthu:g:D:")) != -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.