int main(int argc, char **argv) { if (argc < 2) print_usage(); if (!strcmp(argv[1], "format")) show_format_opts(); else if (!strcmp(argv[1], "codec")) show_codec_opts(); else print_usage(); return 0; }
int main(int argc, char **argv) { if (argc < 2) print_usage(); printf("@c DO NOT EDIT THIS FILE!\n" "@c It was generated by print_options.\n\n"); if (!strcmp(argv[1], "format")) show_format_opts(); else if (!strcmp(argv[1], "codec")) show_codec_opts(); else print_usage(); return 0; }