getopt arg fix

This commit is contained in:
Chiharu Shirasaka
2020-10-16 22:41:10 +09:00
committed by GitHub
parent 0252289f9f
commit cb7003fbe7

View File

@@ -34,7 +34,7 @@ int main(int argc, char *argv[]) {
unsigned int i32, cksum, ch;
long len;
while ((i = getopt(argc, argv, "hvo:l:")) != -1) {
while ((i = getopt(argc, argv, "ho:")) != -1) {
switch (i) {
case 'o':
outfile = optarg;