@@ -177,22 +177,22 @@ impl FromStr for DvcProxyInfo {
177177#[ clap( version, long_about = None ) ]
178178struct Args {
179179 /// A file with IronRDP client logs
180- #[ clap( short, long, value_parser ) ]
180+ #[ clap( short, long) ]
181181 log_file : Option < String > ,
182182
183183 /// An address on which the client will connect.
184184 destination : Option < Destination > ,
185185
186186 /// A target RDP server user name
187- #[ clap( short, long, value_parser ) ]
187+ #[ clap( short, long) ]
188188 username : Option < String > ,
189189
190190 /// An optional target RDP server domain name
191- #[ clap( short, long, value_parser ) ]
191+ #[ clap( short, long) ]
192192 domain : Option < String > ,
193193
194194 /// A target RDP server user password
195- #[ clap( short, long, value_parser ) ]
195+ #[ clap( short, long) ]
196196 password : Option < String > ,
197197
198198 /// Proxy URL to connect to for the RDCleanPath
@@ -204,23 +204,23 @@ struct Args {
204204 rdcleanpath_token : Option < String > ,
205205
206206 /// The keyboard type
207- #[ clap( long, value_enum, value_parser , default_value_t = KeyboardType :: IbmEnhanced ) ]
207+ #[ clap( long, value_enum, default_value_t = KeyboardType :: IbmEnhanced ) ]
208208 keyboard_type : KeyboardType ,
209209
210210 /// The keyboard subtype (an original equipment manufacturer-dependent value)
211- #[ clap( long, value_parser , default_value_t = 0 ) ]
211+ #[ clap( long, default_value_t = 0 ) ]
212212 keyboard_subtype : u32 ,
213213
214214 /// The number of function keys on the keyboard
215- #[ clap( long, value_parser , default_value_t = 12 ) ]
215+ #[ clap( long, default_value_t = 12 ) ]
216216 keyboard_functional_keys_count : u32 ,
217217
218218 /// The input method editor (IME) file name associated with the active input locale
219- #[ clap( long, value_parser , default_value_t = String :: from( "" ) ) ]
219+ #[ clap( long, default_value_t = String :: from( "" ) ) ]
220220 ime_file_name : String ,
221221
222222 /// Contains a value that uniquely identifies the client
223- #[ clap( long, value_parser , default_value_t = String :: from( "" ) ) ]
223+ #[ clap( long, default_value_t = String :: from( "" ) ) ]
224224 dig_product_id : String ,
225225
226226 /// Enable thin client
@@ -266,19 +266,19 @@ struct Args {
266266 no_credssp : bool ,
267267
268268 /// The clipboard type
269- #[ clap( long, value_enum, value_parser , default_value_t = ClipboardType :: Default ) ]
269+ #[ clap( long, value_enum, default_value_t = ClipboardType :: Default ) ]
270270 clipboard_type : ClipboardType ,
271271
272272 /// The bitmap codecs to use (remotefx:on, ...)
273- #[ clap( long, value_parser , num_args = 1 .., value_delimiter = ',' ) ]
273+ #[ clap( long, num_args = 1 .., value_delimiter = ',' ) ]
274274 codecs : Vec < String > ,
275275
276276 /// Add DVC channel named pipe proxy.
277277 /// the format is <name>=<pipe>
278278 /// e.g. `ChannelName=PipeName` where `ChannelName` is the name of the channel,
279279 /// and `PipeName` is the name of the named pipe to connect to (without OS-specific prefix),
280280 /// e.g. PipeName will automatically be prefixed with `\\.\pipe\` on Windows.
281- #[ clap( long, value_parser ) ]
281+ #[ clap( long) ]
282282 dvc_proxy : Vec < DvcProxyInfo > ,
283283}
284284
0 commit comments