summaryrefslogtreecommitdiff
path: root/fstobdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fstobdf.c')
-rw-r--r--fstobdf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fstobdf.c b/fstobdf.c
index 5fe4816..255d82e 100644
--- a/fstobdf.c
+++ b/fstobdf.c
@@ -109,6 +109,11 @@ main(int argc, char *argv[])
printf("%s\n", PACKAGE_STRING);
exit(0);
}
+ else {
+ fprintf(stderr, "%s: unrecognized option '%s'\n",
+ argv[0], argv[i]);
+ usage(argv[0], NULL);
+ }
}
if (fontName == NULL)