Module Name:    src
Committed By:   wiz
Date:           Wed Dec  8 09:43:28 UTC 2010

Modified Files:
        src/usr.sbin/ldpd: main.c

Log Message:
Add all options to usage.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/ldpd/main.c
diff -u src/usr.sbin/ldpd/main.c:1.1 src/usr.sbin/ldpd/main.c:1.2
--- src/usr.sbin/ldpd/main.c:1.1	Wed Dec  8 07:20:14 2010
+++ src/usr.sbin/ldpd/main.c	Wed Dec  8 09:43:28 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.1 2010/12/08 07:20:14 kefren Exp $ */
+/* $NetBSD: main.c,v 1.2 2010/12/08 09:43:28 wiz Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
 
 void print_usage(char *myself)
 {
-	printf("\nUsage: %s [-hdDW] [-p PORT]\n\n", myself);
+	printf("\nUsage: %s [-DdfhW] [-p PORT]\n\n", myself);
 }
 
 int 
@@ -70,12 +70,12 @@
 
 	while((ch = getopt(argc, argv, "dDfhp:W")) != -1)
 		switch(ch) {
-		case 'd':
-			dont_catch = 1;
-			break;
 		case 'D':
 			debug_f = 1;
 			break;
+		case 'd':
+			dont_catch = 1;
+			break;
 		case 'f':
 			dontfork = 1;
 			break;

Reply via email to