mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 01:52:39 +08:00
Fix "fish --private" regression
Introduced in eacbd6156
(Port and adopt main written in Rust, 2023-08-18).
Fixes #10146
This commit is contained in:
parent
f49efcc691
commit
f118dbc4b9
|
@ -370,7 +370,7 @@ fn fish_parse_opt(args: &mut [WString], opts: &mut FishCmdOpts) -> usize {
|
|||
required_argument,
|
||||
PROFILE_STARTUP_ARG,
|
||||
),
|
||||
wopt(L!("private"), required_argument, 'P'),
|
||||
wopt(L!("private"), no_argument, 'P'),
|
||||
wopt(L!("help"), no_argument, 'h'),
|
||||
wopt(L!("version"), no_argument, 'v'),
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user