From 870e015048bccbef22bcbd86351d4bc8edb41924 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 21 Dec 2009 02:20:13 +0000 Subject: Add -?, -help, and --help as alternative options to get help. Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils_common_opts.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmdutils_common_opts.h') 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" }, -- cgit v1.2.3