X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fflags.cpp;h=211509890d69a93ba212152fe2985063b4f9e210;hb=2b37c51ea17b77b88e2f7fda443109acc260aa8f;hp=aefde273aa64fdbc32504ff2658e743faa6a09d9;hpb=931727fc4cccafc84023a053a6eff174b5ea8190;p=nageru diff --git a/futatabi/flags.cpp b/futatabi/flags.cpp index aefde27..2115098 100644 --- a/futatabi/flags.cpp +++ b/futatabi/flags.cpp @@ -4,7 +4,6 @@ #include #include #include - #include using namespace std; @@ -43,7 +42,7 @@ void usage() fprintf(stderr, " --tally-url URL URL to get tally color from (polled every 100 ms)\n"); } -void parse_flags(int argc, char * const argv[]) +void parse_flags(int argc, char *const argv[]) { static const option long_options[] = { { "help", no_argument, 0, OPTION_HELP }, @@ -58,7 +57,7 @@ void parse_flags(int argc, char * const argv[]) { "cue-point-padding", required_argument, 0, OPTION_CUE_POINT_PADDING }, { 0, 0, 0, 0 } }; - for ( ;; ) { + for (;;) { int option_index = 0; int c = getopt_long(argc, argv, "w:h:r:q:d:", long_options, &option_index);