From: Steinar H. Gunderson Date: Sun, 31 Mar 2019 12:17:15 +0000 (+0200) Subject: Fix -o short option. X-Git-Tag: 1.8.6~6 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=735de762d88859ab038e9fd3cbdedf8976f531f1;p=nageru Fix -o short option. --- diff --git a/nageru/flags.cpp b/nageru/flags.cpp index bdb9821..57e58ae 100644 --- a/nageru/flags.cpp +++ b/nageru/flags.cpp @@ -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;