diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-10-28 09:15:59 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-10-28 09:15:59 +0000 |
commit | 3340c29de504ea426c66de477de5a6e876cb9cc7 (patch) | |
tree | aeb1de5d31de96bebedda2c92b14cee0faa781da /usr.sbin/ldpd/ldpd.c | |
parent | a409c36f2a371abea2e19a9b5f2bc183f5863be3 (diff) |
remove an unimplemented flag from both usage() and getopt(3)'s
option string.
ok claudio@, michele@
Diffstat (limited to 'usr.sbin/ldpd/ldpd.c')
-rw-r--r-- | usr.sbin/ldpd/ldpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/ldpd.c b/usr.sbin/ldpd/ldpd.c index dc8e4aa14c1..0be86d4bf19 100644 --- a/usr.sbin/ldpd/ldpd.c +++ b/usr.sbin/ldpd/ldpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpd.c,v 1.3 2009/07/13 19:04:26 michele Exp $ */ +/* $OpenBSD: ldpd.c,v 1.4 2009/10/28 09:15:58 sobrado Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -119,7 +119,7 @@ usage(void) { extern char *__progname; - fprintf(stderr, "usage: %s [-cdnv] [-D macro=value] [-f file]\n", + fprintf(stderr, "usage: %s [-dnv] [-D macro=value] [-f file]\n", __progname); exit(1); } @@ -139,7 +139,7 @@ main(int argc, char *argv[]) log_init(1); /* log to stderr until daemonized */ - while ((ch = getopt(argc, argv, "cdD:f:nv")) != -1) { + while ((ch = getopt(argc, argv, "dD:f:nv")) != -1) { switch (ch) { case 'd': debug = 1; |