@@ -46,20 +46,20 @@ USAGE:
4646 cargo xtask install [FLAGS]
4747
4848FLAGS:
49- --client-code [=CLIENT] Install only VS Code plugin.
50- CLIENT is one of 'code', 'code-insiders', 'codium', or 'code-oss'
51- --server Install only the language server
52- --mimalloc Use mimalloc for server
53- -h, --help Prints help information
49+ --client[=CLIENT] Install only VS Code plugin.
50+ CLIENT is one of 'code', 'code-insiders', 'codium', or 'code-oss'
51+ --server Install only the language server
52+ --mimalloc Use mimalloc for server
53+ -h, --help Prints help information
5454 "
5555 ) ;
5656 return Ok ( ( ) ) ;
5757 }
5858 let server = args. contains ( "--server" ) ;
59- let client_code = args. contains ( "--client-code " ) ;
59+ let client_code = args. contains ( "--client" ) ;
6060 if server && client_code {
6161 eprintln ! (
62- "error: The argument `--server` cannot be used with `--client-code `\n \n \
62+ "error: The argument `--server` cannot be used with `--client`\n \n \
6363 For more information try --help"
6464 ) ;
6565 return Ok ( ( ) ) ;
6868 let malloc =
6969 if args. contains ( "--mimalloc" ) { Malloc :: Mimalloc } else { Malloc :: System } ;
7070
71- let client_opt = args. opt_value_from_str ( "--client-code " ) ?;
71+ let client_opt = args. opt_value_from_str ( "--client" ) ?;
7272
7373 args. finish ( ) ?;
7474
0 commit comments