diff --git a/wezterm/src/main.rs b/wezterm/src/main.rs index 25cdb9fb9..9363d35fd 100644 --- a/wezterm/src/main.rs +++ b/wezterm/src/main.rs @@ -517,8 +517,9 @@ async fn run_cli_async(config: config::ConfigHandle, cli: CliCommand) -> anyhow: None => std::env::var("WEZTERM_PANE") .map_err(|_| { anyhow!( - "--pane-id was not specified and $WEZTERM_PANE - is not set in the environment" + "--pane-id was not specified and $WEZTERM_PANE \ + is not set in the environment. \ + Consider using --new-window?" ) })? .parse()?,