fix delegation of --skip-config to wezterm-gui

refs: #3325
This commit is contained in:
Wez Furlong committed 2023-03-22 07:24:02 -07:00
1 parent f37c3ae5da
commit b384dc999f
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -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
+2 -2
View File
@@ -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<OsString>,