X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsort-test.c;h=448abdc31b517fe72e0b39e0c64898613b005a96;hb=157acec25f2e60c76607edc3d62cf23fe47f4efe;hp=9d32277797af76f22eb929d3b948b39fc62a6d7f;hpb=8ededf391ba2f87b4b3096ac3549765fd7de0732;p=libucw.git diff --git a/lib/sort-test.c b/lib/sort-test.c index 9d322777..448abdc3 100644 --- a/lib/sort-test.c +++ b/lib/sort-test.c @@ -79,7 +79,10 @@ main(int argc, char **argv) log_init(NULL); if (cf_getopt(argc, argv, CF_SHORT_OPTS, CF_NO_LONG_OPTS, NULL) >= 0 || optind != argc - 2) - die("Usage: sort-test [] \nOptions:\n" CF_USAGE); + { + fputs("This program supports only the following command-line arguments:\n" CF_USAGE, stderr); + exit(1); + } s_sort(argv[optind], argv[optind+1]); return 0;