mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 02:42:21 +00:00
fftools/cmdutils: surround option arguments by <> in help output
Makes it more clear that they are placeholders for actual values.
This commit is contained in:
parent
0b95e71aa0
commit
9cb52927b9
@ -132,10 +132,9 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags,
|
||||
else if (po->flags & OPT_FLAG_SPEC)
|
||||
av_strlcat(buf, "[:<spec>]", sizeof(buf));
|
||||
|
||||
if (po->argname) {
|
||||
av_strlcat(buf, " ", sizeof(buf));
|
||||
av_strlcat(buf, po->argname, sizeof(buf));
|
||||
}
|
||||
if (po->argname)
|
||||
av_strlcatf(buf, sizeof(buf), " <%s>", po->argname);
|
||||
|
||||
printf("-%-17s %s\n", buf, po->help);
|
||||
}
|
||||
printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user