Message ID | 20220919094604.4645-3-thilo.borgmann@mail.de |
---|---|
State | New |
Headers | show |
Series | Add display_matrix option | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index f911c52be2..b6dd73902b 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -162,6 +162,11 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags, av_strlcat(buf, po->argname, sizeof(buf)); } printf("-%-17s %s\n", buf, po->help); + + if (po->args) { + const AVClass *p = po->args; + av_arg_show(&p, NULL); + } } printf("\n"); } diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h index 4496221983..2f469f8c25 100644 --- a/fftools/cmdutils.h +++ b/fftools/cmdutils.h @@ -175,6 +175,7 @@ typedef struct OptionDef { } u; const char *help; const char *argname; + const AVClass *args; } OptionDef; /**