diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-30 23:35:52 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-30 23:35:52 +0000 |
commit | 885146afc9fceedfe99b2965c0a3b18783bd8370 (patch) | |
tree | c69ab496235e359c521fa6e08112504f9b5d385f | |
parent | 6ebda2b02966763d9e0acd2348d913236cecd9e5 (diff) | |
download | mpv-885146afc9fceedfe99b2965c0a3b18783bd8370.tar.bz2 mpv-885146afc9fceedfe99b2965c0a3b18783bd8370.tar.xz |
Unification of parameter handling part 3 of many:
Merge --help into general parameter handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22084 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -448,13 +448,6 @@ EOF exit 0 } #show_help() -for parm in "$@" ; do - case $parm in - --help|-help|-h) - show_help - esac -done - # GOTCHA: the variables below defines the default behavior for autodetection # and have - unless stated otherwise - at least 2 states : yes no # If autodetection is available then the third state is: auto @@ -652,6 +645,9 @@ _asmalign_pot=auto _color_console=no for ac_option do case "$ac_option" in + --help|-help|-h) + show_help + ;; --target=*) _target=`echo $ac_option | cut -d '=' -f 2` ;; |