]> git.sesse.net Git - nageru/commitdiff
Fix -o short option.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 31 Mar 2019 12:17:15 +0000 (14:17 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 31 Mar 2019 12:21:14 +0000 (14:21 +0200)
nageru/flags.cpp

index bdb9821d5aafed89dbe453be4865600f888beb68..57e58aecf423053b57d0bdfb00e399bda711dd0c 100644 (file)
@@ -286,7 +286,7 @@ void parse_flags(Program program, int argc, char * const argv[])
        bool card_to_mjpeg_stream_export_set = false;
        for ( ;; ) {
                int option_index = 0;
-               int c = getopt_long(argc, argv, "c:t:I:r:v:m:M:w:h:", long_options, &option_index);
+               int c = getopt_long(argc, argv, "c:o:t:I:r:v:m:M:w:h:", long_options, &option_index);
 
                if (c == -1) {
                        break;