diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-04 22:29:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-22 22:13:20 -0800 |
commit | cf81381eac18f1a1f894fd31f2e4def1fbf7d027 (patch) | |
tree | af2020d03bcd537c9aace8aadcec7662c5e542f8 /bdftopcf.c | |
parent | 2f5ac9eabfc9609bce3aa420a64f29279e626e95 (diff) |
Print which option was in error along with usage message
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'bdftopcf.c')
-rw-r--r-- | bdftopcf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -145,6 +145,8 @@ main(int argc, char *argv[]) else { if (input_name) { usage: + fprintf(stderr, "%s: invalid option '%s'\n", + program_name, argv[0]); fprintf(stderr, "usage: %s [-p#] [-u#] [-m] [-l] [-M] [-L] [-t] [-i] [-o pcf file] [bdf file]\n" " where # for -p is 1, 2, 4, or 8\n" |