[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3800 - trunk/OpenDNSSEC/enforcer/common

Jakob Schlyter jakob at kirei.se
Thu Aug 26 14:19:47 CEST 2010


Author: jakob
Date: 2010-08-26 14:19:46 +0200 (Thu, 26 Aug 2010)
New Revision: 3800

Modified:
   trunk/OpenDNSSEC/enforcer/common/daemon_util.c
Log:
use capital -V for version

Modified: trunk/OpenDNSSEC/enforcer/common/daemon_util.c
===================================================================
--- trunk/OpenDNSSEC/enforcer/common/daemon_util.c	2010-08-26 11:50:48 UTC (rev 3799)
+++ trunk/OpenDNSSEC/enforcer/common/daemon_util.c	2010-08-26 12:19:46 UTC (rev 3800)
@@ -329,7 +329,7 @@
 /*    fprintf(stderr, "  -u user     Change effective uid to the specified user.\n");*/
     fprintf(stderr, "  -P pidfile  Specify the PID file to write.\n");
 
-    fprintf(stderr, "  -v          Print version.\n");
+    fprintf(stderr, "  -V          Print version.\n");
     fprintf(stderr, "  -[?|h]      This help.\n");
 }
 
@@ -482,7 +482,7 @@
     /*
      * Read the command line
      */
-    while ((c = getopt(*argc, argv, "1c:hdv?u:P:")) != -1) {
+    while ((c = getopt(*argc, argv, "1c:hdV?u:P:")) != -1) {
         switch (c) {
             case '1':
                 config->once = true;
@@ -542,7 +542,7 @@
             case '?':
                 usage(config->program);
                 exit(0);
-            case 'v':
+            case 'V':
                 version();
                 exit(0);
             default:




More information about the Opendnssec-commits mailing list