const unsigned long long cd = 734003200;
int c = 0;
- while ((c = getopt(argc, argv, ":59bcf:i:o:")) != -1) {
+ while ((c = getopt(argc, argv, ":59bcf:hi:o:")) != -1) {
switch (c) {
case 'i':
parameter.input = optarg;
parameter.split = atoll(optarg);
break;
case 'h':
+ useage();
+ exit(0);
+ break;
default:
printf("WARNUNG: Parameter -%c unbekannt!\n", optopt);
break;
if (parameter.input == NULL
|| parameter.output == NULL
|| parameter.split < 2048) {
- usage();
+ useage();
exit(1);
}