summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-06-17 19:40:03 +0000
committerhenning <henning@openbsd.org>2004-06-17 19:40:03 +0000
commitf45db6616b2ccc569f85bb60fb4c7641c430000a (patch)
tree01cb979f2f053d3581514a5af373f77161458ceb /usr.sbin/bgpctl/parser.c
parentYet another bunch of memleask found and fixed by Patrick Latifi. Thanks! (diff)
downloadwireguard-openbsd-f45db6616b2ccc569f85bb60fb4c7641c430000a.tar.xz
wireguard-openbsd-f45db6616b2ccc569f85bb60fb4c7641c430000a.zip
print '<cr>' instead of '(nothing)' when we hit the end token in the
context-dependent usage help
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index 0aee651fc91..43ff39bb6af 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.6 2004/05/21 11:52:32 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.7 2004/06/17 19:40:03 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -299,7 +299,7 @@ show_valid_args(const struct token table[])
for (i = 0; table[i].type != ENDTOKEN; i++) {
switch (table[i].type) {
case NOTOKEN:
- fprintf(stderr, " (nothing)\n");
+ fprintf(stderr, " <cr>\n");
break;
case KEYWORD:
case FLAG: