Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ldpd Add all options to usage.
details: https://anonhg.NetBSD.org/src/rev/6b4979ea257b
branches: trunk
changeset: 759406:6b4979ea257b
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Dec 08 09:43:28 2010 +0000
description:
Add all options to usage.
diffstat:
usr.sbin/ldpd/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r d001e0b07ea3 -r 6b4979ea257b usr.sbin/ldpd/main.c
--- a/usr.sbin/ldpd/main.c Wed Dec 08 09:43:22 2010 +0000
+++ b/usr.sbin/ldpd/main.c Wed Dec 08 09:43:28 2010 +0000
@@ -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':
+ debug_f = 1;
+ break;
case 'd':
dont_catch = 1;
break;
- case 'D':
- debug_f = 1;
- break;
case 'f':
dontfork = 1;
break;
Home |
Main Index |
Thread Index |
Old Index