- { "L", OPT_EXIT, {(void*)opt_license}, "show license" },
- { "h", OPT_EXIT, {(void*)opt_help}, "show help" },
- { "?", OPT_EXIT, {(void*)opt_help}, "show help" },
- { "help", OPT_EXIT, {(void*)opt_help}, "show help" },
- { "-help", OPT_EXIT, {(void*)opt_help}, "show help" },
- { "version", OPT_EXIT, {(void*)opt_version}, "show version" },
- { "formats" , OPT_EXIT, {(void*)opt_formats }, "show available formats" },
- { "codecs" , OPT_EXIT, {(void*)opt_codecs }, "show available codecs" },
- { "bsfs" , OPT_EXIT, {(void*)opt_bsfs }, "show available bit stream filters" },
- { "protocols", OPT_EXIT, {(void*)opt_protocols}, "show available protocols" },
- { "filters", OPT_EXIT, {(void*)opt_filters }, "show available filters" },
- { "pix_fmts" , OPT_EXIT, {(void*)opt_pix_fmts }, "show available pixel formats" },
+ { "L" , OPT_EXIT, {.func_arg = show_license}, "show license" },
+ { "h" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
+ { "?" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
+ { "help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
+ { "-help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
+ { "version" , OPT_EXIT, {.func_arg = show_version}, "show version" },
+ { "formats" , OPT_EXIT, {.func_arg = show_formats }, "show available formats" },
+ { "codecs" , OPT_EXIT, {.func_arg = show_codecs }, "show available codecs" },
+ { "decoders" , OPT_EXIT, {.func_arg = show_decoders }, "show available decoders" },
+ { "encoders" , OPT_EXIT, {.func_arg = show_encoders }, "show available encoders" },
+ { "bsfs" , OPT_EXIT, {.func_arg = show_bsfs }, "show available bit stream filters" },
+ { "protocols" , OPT_EXIT, {.func_arg = show_protocols}, "show available protocols" },
+ { "filters" , OPT_EXIT, {.func_arg = show_filters }, "show available filters" },
+ { "pix_fmts" , OPT_EXIT, {.func_arg = show_pix_fmts }, "show available pixel formats" },