aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-11-05 12:28:16 +0000
committerLev Walkin <vlm@lionet.info>2005-11-05 12:28:16 +0000
commitbf430386a489111462282e588c6b0e4856db3c81 (patch)
tree5fecf5e74c52daab4d8dd9e875ab725195e69314 /asn1c/asn1c.c
parentd594771c15b1a252140fef0500109c02bdefbe0c (diff)
informative message
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r--asn1c/asn1c.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index e009c381..ce1342f8 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -177,8 +177,10 @@ main(int ac, char **av) {
ac -= optind;
av += optind;
} else {
- fprintf(stderr, "%s: No input files specified\n",
- a1c_basename(av[0]));
+ char *bin_name = a1c_basename(av[0]);
+ fprintf(stderr, "%s: No input files specified. "
+ "Try '%s -h' for more information\n",
+ bin_name, bin_name);
exit(1);
}