Author: biurrun Date: Fri Sep 4 17:19:50 2009 New Revision: 934 Log: Oops, add missing command line options to optarr option array. Modified: trunk/tools/switch-ip Modified: trunk/tools/switch-ip ============================================================================== --- trunk/tools/switch-ip Fri Sep 4 17:03:09 2009 (r933) +++ trunk/tools/switch-ip Fri Sep 4 17:19:50 2009 (r934) @@ -119,7 +119,7 @@ shift 1 fi -optarr=($(getopt -o 'hi:' --long 'myip1:,myip2:,apip1:,apip2:,apssid1:,apssid2:,nowep,help' -- "$@")) +optarr=($(getopt -o 'hi:' --long 'myip1:,myip2:,apip1:,apip2:,apssid1:,apssid2:,apmac1:,apmac2:,dhcp_cmd:,route_extra_cmd:,nowep,help' -- "$@")) if [ $? != 0 ]; then usage