@@ -177,22 +177,22 @@ impl FromStr for DvcProxyInfo {
177
177
#[ clap( version, long_about = None ) ]
178
178
struct Args {
179
179
/// A file with IronRDP client logs
180
- #[ clap( short, long, value_parser ) ]
180
+ #[ clap( short, long) ]
181
181
log_file : Option < String > ,
182
182
183
183
/// An address on which the client will connect.
184
184
destination : Option < Destination > ,
185
185
186
186
/// A target RDP server user name
187
- #[ clap( short, long, value_parser ) ]
187
+ #[ clap( short, long) ]
188
188
username : Option < String > ,
189
189
190
190
/// An optional target RDP server domain name
191
- #[ clap( short, long, value_parser ) ]
191
+ #[ clap( short, long) ]
192
192
domain : Option < String > ,
193
193
194
194
/// A target RDP server user password
195
- #[ clap( short, long, value_parser ) ]
195
+ #[ clap( short, long) ]
196
196
password : Option < String > ,
197
197
198
198
/// Proxy URL to connect to for the RDCleanPath
@@ -204,23 +204,23 @@ struct Args {
204
204
rdcleanpath_token : Option < String > ,
205
205
206
206
/// 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 ) ]
208
208
keyboard_type : KeyboardType ,
209
209
210
210
/// 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 ) ]
212
212
keyboard_subtype : u32 ,
213
213
214
214
/// The number of function keys on the keyboard
215
- #[ clap( long, value_parser , default_value_t = 12 ) ]
215
+ #[ clap( long, default_value_t = 12 ) ]
216
216
keyboard_functional_keys_count : u32 ,
217
217
218
218
/// 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( "" ) ) ]
220
220
ime_file_name : String ,
221
221
222
222
/// 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( "" ) ) ]
224
224
dig_product_id : String ,
225
225
226
226
/// Enable thin client
@@ -266,19 +266,19 @@ struct Args {
266
266
no_credssp : bool ,
267
267
268
268
/// 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 ) ]
270
270
clipboard_type : ClipboardType ,
271
271
272
272
/// 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 = ',' ) ]
274
274
codecs : Vec < String > ,
275
275
276
276
/// Add DVC channel named pipe proxy.
277
277
/// the format is <name>=<pipe>
278
278
/// e.g. `ChannelName=PipeName` where `ChannelName` is the name of the channel,
279
279
/// and `PipeName` is the name of the named pipe to connect to (without OS-specific prefix),
280
280
/// e.g. PipeName will automatically be prefixed with `\\.\pipe\` on Windows.
281
- #[ clap( long, value_parser ) ]
281
+ #[ clap( long) ]
282
282
dvc_proxy : Vec < DvcProxyInfo > ,
283
283
}
284
284
0 commit comments