ability to display title
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1362 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/converter-sample.c b/skeletons/converter-sample.c
index 4f5b8ed..0a682a2 100644
--- a/skeletons/converter-sample.c
+++ b/skeletons/converter-sample.c
@@ -1,6 +1,7 @@
/*
* Generic converter template for a selected ASN.1 type.
- * Copyright (c) 2005, 2006 Lev Walkin <vlm@lionet.info>. All rights reserved.
+ * Copyright (c) 2005, 2006, 2007 Lev Walkin <vlm@lionet.info>.
+ * All rights reserved.
*
* To compile with your own ASN.1 type, please redefine the PDU as shown:
*
@@ -186,6 +187,11 @@
#endif /* JUNKTEST */
case 'h':
default:
+#ifdef ASN_CONVERTER_TITLE
+#define _AXS(x) #x
+#define _ASX(x) _AXS(x)
+ fprintf(stderr, "%s\n", _ASX(ASN_CONVERTER_TITLE));
+#endif
fprintf(stderr, "Usage: %s [options] <data.ber> ...\n", av[0]);
fprintf(stderr, "Where options are:\n");
if(pduType->uper_decoder)