@@ -134,7 +134,7 @@ function Local(){
134134
135135 case 'localIdentifier' :
136136 if ( value )
137- this . localIdentifierFlag = '-localIdentifier ' + value ;
137+ this . localIdentifierFlag = value ;
138138 break ;
139139
140140 case 'f' :
@@ -146,22 +146,22 @@ function Local(){
146146
147147 case 'proxyHost' :
148148 if ( value )
149- this . proxyHost = '-proxyHost ' + value ;
149+ this . proxyHost = value ;
150150 break ;
151151
152152 case 'proxyPort' :
153153 if ( value )
154- this . proxyPort = '-proxyPort ' + value ;
154+ this . proxyPort = value ;
155155 break ;
156156
157157 case 'proxyUser' :
158158 if ( value )
159- this . proxyUser = '-proxyUser ' + value ;
159+ this . proxyUser = value ;
160160 break ;
161161
162162 case 'proxyPass' :
163163 if ( value )
164- this . proxyPass = '-proxyPass ' + value ;
164+ this . proxyPass = value ;
165165 break ;
166166
167167 case 'forceproxy' :
@@ -214,20 +214,30 @@ function Local(){
214214 args . push ( this . folderPath ) ;
215215 if ( this . forceLocalFlag )
216216 args . push ( this . forceLocalFlag ) ;
217- if ( this . localIdentifierFlag )
217+ if ( this . localIdentifierFlag ) {
218+ args . push ( '-localIdentifier' ) ;
218219 args . push ( this . localIdentifierFlag ) ;
220+ }
219221 if ( this . onlyFlag )
220222 args . push ( this . onlyFlag ) ;
221223 if ( this . onlyAutomateFlag )
222224 args . push ( this . onlyAutomateFlag ) ;
223- if ( this . proxyHost )
225+ if ( this . proxyHost ) {
226+ args . push ( '-proxyHost' ) ;
224227 args . push ( this . proxyHost ) ;
225- if ( this . proxyPort )
228+ }
229+ if ( this . proxyPort ) {
230+ args . push ( '-proxyPort' ) ;
226231 args . push ( this . proxyPort ) ;
227- if ( this . proxyUser )
232+ }
233+ if ( this . proxyUser ) {
234+ args . push ( '-proxyUser' ) ;
228235 args . push ( this . proxyUser ) ;
229- if ( this . proxyPass )
236+ }
237+ if ( this . proxyPass ) {
238+ args . push ( '-proxyPass' ) ;
230239 args . push ( this . proxyPass ) ;
240+ }
231241 if ( this . forceProxyFlag )
232242 args . push ( this . forceProxyFlag ) ;
233243 if ( this . forceFlag )
0 commit comments