mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 15:41:55 +00:00
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
This commit is contained in:
parent
6ebda2b029
commit
885146afc9
10
configure
vendored
10
configure
vendored
@ -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`
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user