diff --git a/docs/changelog.md b/docs/changelog.md index b2a582879..cf8930e22 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -25,9 +25,12 @@ As features stabilize some brief notes about them will accumulate here. * [mouse_wheel_scrolls_tabs](config/lua/config/mouse_wheel_scrolls_tabs.md) option to control whether the mouse wheel can be used to activate tabs when hovering over the tab bar. Thanks to @eaglgenes101! #3227 + #### Fixed * ssh ProxyCommand didn't parse command lines containing `=` correctly. #3307 * `wezterm.GLOBALS.foo` now supports `__len` and `__pairs` metamethods +* `wezterm --skip-config` resulted in an `unexpected argument` error, while + `wezterm -n` still worked as intended. #3325 ### 20230320-124340-559cb7b0 diff --git a/wezterm-gui/src/main.rs b/wezterm-gui/src/main.rs index 0bbdcb79b..3515dc978 100644 --- a/wezterm-gui/src/main.rs +++ b/wezterm-gui/src/main.rs @@ -70,7 +70,7 @@ pub use termwindow::{set_window_class, set_window_position, TermWindow, ICON_DAT )] struct Opt { /// Skip loading wezterm.lua - #[arg(name = "skip-config", short = 'n')] + #[arg(long, short = 'n')] skip_config: bool, /// Specify the configuration file to use, overrides the normal @@ -78,7 +78,7 @@ struct Opt { #[arg( long = "config-file", value_parser, - conflicts_with = "skip-config", + conflicts_with = "skip_config", value_hint=ValueHint::FilePath, )] config_file: Option,