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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;