Commit c2675d4a authored by Ramiro Polla's avatar Ramiro Polla
Browse files

Proper check for --help and -h parameters

Originally committed as revision 10543 to svn://
parent 06eab4ba
......@@ -899,10 +899,6 @@ else
die "Out of tree builds are impossible with whitespace in source path."
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
ENCODER_LIST=`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' "$source_path/libavcodec/allcodecs.c"`
......@@ -1008,7 +1004,7 @@ for opt do
NAME=$(toupper ${NAME%s})
eval show_list \$${NAME}_LIST
--help) show_help
--help|-h) show_help
die_unknown $opt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment