mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
Fix some minor warnings
This commit is contained in:
parent
793fb8f8f6
commit
d6c96a0a68
2 changed files with 4 additions and 4 deletions
|
@ -771,8 +771,8 @@ fn main() {
|
|||
// File path for debug output.
|
||||
let mut debug_output = None;
|
||||
|
||||
const short_opts: &wstr = L!("+d:hvwicD:");
|
||||
const long_opts: &[woption] = &[
|
||||
let short_opts: &wstr = L!("+d:hvwicD:");
|
||||
let long_opts: &[woption] = &[
|
||||
wopt(L!("debug"), woption_argument_t::required_argument, 'd'),
|
||||
wopt(
|
||||
L!("debug-output"),
|
||||
|
|
|
@ -310,8 +310,8 @@ fn setup_and_process_keys(continuous_mode: bool, verbose: bool) -> ! {
|
|||
}
|
||||
|
||||
fn parse_flags(continuous_mode: &mut bool, verbose: &mut bool) -> bool {
|
||||
const short_opts: &wstr = L!("+chvV");
|
||||
const long_opts: &[woption] = &[
|
||||
let short_opts: &wstr = L!("+chvV");
|
||||
let long_opts: &[woption] = &[
|
||||
wopt(L!("continuous"), woption_argument_t::no_argument, 'c'),
|
||||
wopt(L!("help"), woption_argument_t::no_argument, 'h'),
|
||||
wopt(L!("version"), woption_argument_t::no_argument, 'v'),
|
||||
|
|
Loading…
Reference in a new issue