diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-06-17 19:40:04 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-06-17 19:40:04 +0000 |
commit | a20fe1fd44d75b66691d239b604d8ceae31b68b0 (patch) | |
tree | aa03175407593d76454c36379181f35a4aa47124 /usr.sbin/bgpctl | |
parent | c1d2018ca09771907615a6c41cd5e2d33535fbd9 (diff) |
print '<cr>' instead of '(nothing)' when we hit the end token in the
context-dependent usage help
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r-- | usr.sbin/bgpctl/parser.c | 4 |
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: |