diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 02:20:13 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 02:20:13 +0000 |
commit | 870e015048bccbef22bcbd86351d4bc8edb41924 (patch) | |
tree | aa88a61debfa622ed74483fedcfe71efd7575132 /cmdutils_common_opts.h | |
parent | 7f11e745b27bfbac6b2a18daffc44173530bd6d5 (diff) | |
download | ffmpeg-870e015048bccbef22bcbd86351d4bc8edb41924.tar.gz |
Add -?, -help, and --help as alternative options to get help.
Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r-- | cmdutils_common_opts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h index 1c89bba198..0a456bc1fe 100644 --- a/cmdutils_common_opts.h +++ b/cmdutils_common_opts.h @@ -1,5 +1,8 @@ { "L", OPT_EXIT, {(void*)show_license}, "show license" }, { "h", OPT_EXIT, {(void*)show_help}, "show help" }, + { "?", OPT_EXIT, {(void*)show_help}, "show help" }, + { "help", OPT_EXIT, {(void*)show_help}, "show help" }, + { "-help", OPT_EXIT, {(void*)show_help}, "show help" }, { "version", OPT_EXIT, {(void*)show_version}, "show version" }, { "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" }, { "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" }, |