diff --git a/clap_complete/src/shells/fish.rs b/clap_complete/src/shells/fish.rs index ad554ae59f3..fb91b7e0d35 100644 --- a/clap_complete/src/shells/fish.rs +++ b/clap_complete/src/shells/fish.rs @@ -29,8 +29,8 @@ impl Generator for Fish { // NOTE: Use exhaustive match to update this when new actions are added // (e.g. HelpShort / HelpLong were only added recently). match a.get_action() { - ArgAction::Set | ArgAction::Append | ArgAction::SetTrue | ArgAction::SetFalse | ArgAction::Count => true, ArgAction::Help | ArgAction::HelpShort | ArgAction::HelpLong | ArgAction::Version => false, + _ => true, } });