diff options
author | Anton Khirnov | 2012-08-15 10:31:46 +0200 |
---|---|---|
committer | Anton Khirnov | 2012-08-19 19:23:43 +0200 |
commit | f9fada2704df7994e8e4451ac78d8d5569faa8a2 (patch) | |
tree | eaa4086e74cffcde48ee94a04b165755de9bb836 /cmdutils.c | |
parent | 6e3857fa8cd620d528fb73fe5f7f692db780c4df (diff) |
avconv: split printing "main options" into global and per-file.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index 50076c231d..6576eba95c 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -114,7 +114,7 @@ int64_t parse_time_or_die(const char *context, const char *timestr, } void show_help_options(const OptionDef *options, const char *msg, int req_flags, - int rej_flags) + int rej_flags, int alt_flags) { const OptionDef *po; int first; @@ -124,6 +124,7 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags, char buf[64]; if (((po->flags & req_flags) != req_flags) || + (alt_flags && !(po->flags & alt_flags)) || (po->flags & rej_flags)) continue; |