diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-15 16:12:57 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-15 16:12:57 +0000 |
commit | 7d6ed4aaf291e86819644eac9cef1626fa77d387 (patch) | |
tree | 61a402fd5281a2021583cdc3f55a9c36488b17fc | |
parent | 5cf226fb090d27889ccd7768e580d46fd2f3ab47 (diff) | |
download | ffmpeg-7d6ed4aaf291e86819644eac9cef1626fa77d387.tar.gz |
set defaults before showing help
Originally committed as revision 5753 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -304,10 +304,6 @@ filter_out(){ echo "$@" | sed "s%\\<$pattern\\>%%g" } -if test x"$1" = x"-h" -o x"$1" = x"--help" ; then - show_help -fi - # set temporary file name if test ! -z "$TMPDIR" ; then TMPDIR1="${TMPDIR}" @@ -664,6 +660,10 @@ else source_path="`cd \"$source_path\"; pwd`" fi +if test x"$1" = x"-h" -o x"$1" = x"--help" ; then + show_help +fi + FFMPEG_CONFIGURATION=" " for opt do FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt " |