Ignore -p master
authorLauri Kasanen <cand@gmx.com>
Mon, 14 Jun 2021 11:25:16 +0000 (14:25 +0300)
committerLauri Kasanen <cand@gmx.com>
Mon, 14 Jun 2021 11:25:16 +0000 (14:25 +0300)
main.c

diff --git a/main.c b/main.c
index 42890f62dc8b04c3c1fa5e65e3138139c7708d58..86181fb7a7d738fe240977ffd0b5f7ce0da316d0 100644 (file)
--- a/main.c
+++ b/main.c
@@ -314,7 +314,7 @@ int main(int argc, char **argv) {
                { "help", 0, NULL, 'h' },
                { NULL, 0, NULL, 0 }
        };
                { "help", 0, NULL, 'h' },
                { NULL, 0, NULL, 0 }
        };
-       const char opts[] = "i:g:f:s:l:d:t:h";
+       const char opts[] = "i:g:f:s:l:d:t:hp:";
 
        struct kvm_run *run;
        struct kvm_regs regs;
 
        struct kvm_run *run;
        struct kvm_regs regs;
@@ -395,6 +395,8 @@ int main(int argc, char **argv) {
                                        return 1;
                                }
                        break;
                                        return 1;
                                }
                        break;
+                       case 'p': // ignored
+                       break;
                        case 'h':
                        default:
                                help(argv[0]);
                        case 'h':
                        default:
                                help(argv[0]);