break;
case 'q':
error_msg("-q option not supported, ignored");
+ break;
case 'h':
default:
show_usage(); /* exit's inside usage */
}
/* Set input filename and number */
- if (argv[optind] == NULL) {
+ if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) {
flags |= gunzip_to_stdout;
in_file = stdin;
} else {