summaryrefslogtreecommitdiff
path: root/src/asn1Parser.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-03-12 12:21:49 +0000
committerSimon Josefsson <simon@josefsson.org>2006-03-12 12:21:49 +0000
commit5f12dc0fbed9806ea89913a432a3f4c62ac851c8 (patch)
tree458acb013d6ea3dbdee8caedd53155073e2776dd /src/asn1Parser.c
parent2813ff6d36a5278644e9bd768834406ffae4a00a (diff)
downloadlibtasn1-5f12dc0fbed9806ea89913a432a3f4c62ac851c8.tar.gz
libtasn1-5f12dc0fbed9806ea89913a432a3f4c62ac851c8.tar.bz2
libtasn1-5f12dc0fbed9806ea89913a432a3f4c62ac851c8.zip
Fix help2man formatting.
Diffstat (limited to 'src/asn1Parser.c')
-rw-r--r--src/asn1Parser.c50
1 files changed, 27 insertions, 23 deletions
diff --git a/src/asn1Parser.c b/src/asn1Parser.c
index dec985c..918b3bf 100644
--- a/src/asn1Parser.c
+++ b/src/asn1Parser.c
@@ -39,32 +39,36 @@
#include <getopt.h>
#endif
-char version_man[] = "asn1Parser (GNU libtasn1) " LIBTASN1_VERSION;
-
-char help_man[] = "asn1Parser reads files with ASN1 definitions and\n"
- "generates a C array to use with libtasn1 functions.\n"
- "\n"
- "Usage: asn1Parser [options] file\n"
- "\n"
+char version_man[] = "asn1Parser (GNU libtasn1) " LIBTASN1_VERSION "\n"
+ "Written by Fabio Fiorina."
+ "\n"
+ "Copyright (C) 2002, 2006 Free Software Foundation, Inc.\n";
+
+char help_man[] =
+ "Usage: asn1Parser [options] FILE\n"
+ "asn1Parser reads FILE with ASN1 definitions and\n"
+ "generates a C array to use with libtasn1 functions.\n"
+ "\n"
#ifdef HAVE_GETOPT_LONG
- "Operation modes:\n"
- " -h, --help shows this message and exit\n"
- " -v, --version shows version information and exit.\n"
- " -c, --check checks the syntax only.\n"
- "\n"
- "Output:\n"
- " -o <file>, --output <file> output file\n"
- " -n <name>, --name <name> array name\n";
+ "Operation modes:\n"
+ " -h, --help shows this message and exit\n"
+ " -v, --version shows version information and exit.\n"
+ " -c, --check checks the syntax only.\n"
+ "\n"
+ "Output:\n"
+ " -o <file>, --output <file> output file\n"
+ " -n <name>, --name <name> array name\n"
#else
- "Operation modes:\n"
- " -h shows this message and exit\n"
- " -v shows version information and exit.\n"
- " -c checks the syntax only.\n"
- "\n"
- "Output:\n"
- " -o <file> output file\n"
- " -n <name> array name\n";
+ "Operation modes:\n"
+ " -h shows this message and exit\n"
+ " -v shows version information and exit.\n"
+ " -c checks the syntax only.\n"
+ "\n"
+ "Output:\n"
+ " -o <file> output file\n"
+ " -n <name> array name\n"
#endif
+ "Report bugs to <" PACKAGE_BUGREPORT ">.";
/********************************************************/
/* Function : main */