diff --git a/clap_complete/src/shells/fish.rs b/clap_complete/src/shells/fish.rs index 087be3ea821..65b4ae6c259 100644 --- a/clap_complete/src/shells/fish.rs +++ b/clap_complete/src/shells/fish.rs @@ -121,9 +121,11 @@ fn gen_fish_inner( [command, subcommand] => out.push_str(&format!( " {command}; and __fish_seen_subcommand_from {subcommand}" )), + // FIXME: Create an `__fish_{name}_help_using_command` to check for help of subcommands of subcommand? [command, "help", _subcommand] => { out.push_str(&format!(" {command}; and __fish_seen_subcommand_from help")); } + // FIXME: Create an `__fish_help_{name}_using_command` to check for help of `{name}` subcommand? ["help", command, _subcommand] => { out.push_str(&format!(" help; and __fish_seen_subcommand_from {command}")); }