From 74d344a521c8a7a294b8da2cf2647e112fd5b310 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 10 Aug 2007 16:52:05 +0000 Subject: Implemented the chain model for X.509 validation. --- jnlib/argparse.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'jnlib/argparse.c') diff --git a/jnlib/argparse.c b/jnlib/argparse.c index 78ff3a46d..2d46884f0 100644 --- a/jnlib/argparse.c +++ b/jnlib/argparse.c @@ -832,8 +832,21 @@ show_help( ARGPARSE_OPTS *opts, unsigned flags ) puts("\n(A single dash may be used instead of the double ones)"); } if( (s=strusage(19)) ) { /* bug reports to ... */ + char *s2; + putchar('\n'); - fputs(s, stdout); + s2 = strstr (s, "@EMAIL@"); + if (s2) + { + if (s2-s) + fwrite (s, s2-s, 1, stdout); + fputs (PACKAGE_BUGREPORT, stdout); + s2 += 7; + if (*s2) + fputs (s2, stdout); + } + else + fputs(s, stdout); } fflush(stdout); exit(0); -- cgit v1.2.3