mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
cli: remove unsupported arguments from serve-web (#239731)
Fixes #238303
This commit is contained in:
@@ -216,12 +216,6 @@ pub struct ServeWebArgs {
|
||||
/// Specifies the directory that server data is kept in.
|
||||
#[clap(long)]
|
||||
pub server_data_dir: Option<String>,
|
||||
/// Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.
|
||||
#[clap(long)]
|
||||
pub user_data_dir: Option<String>,
|
||||
/// Set the root path for extensions.
|
||||
#[clap(long)]
|
||||
pub extensions_dir: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Args, Debug, Clone)]
|
||||
|
||||
@@ -778,14 +778,6 @@ impl ConnectionManager {
|
||||
cmd.arg("--server-data-dir");
|
||||
cmd.arg(a);
|
||||
}
|
||||
if let Some(a) = &args.args.user_data_dir {
|
||||
cmd.arg("--user-data-dir");
|
||||
cmd.arg(a);
|
||||
}
|
||||
if let Some(a) = &args.args.extensions_dir {
|
||||
cmd.arg("--extensions-dir");
|
||||
cmd.arg(a);
|
||||
}
|
||||
if args.args.without_connection_token {
|
||||
cmd.arg("--without-connection-token");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user