mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Remove Parser._help_command
This commit is contained in:
@@ -259,9 +259,9 @@ complete -c foo -n '__fish_seen_subcommand_from install' -s v -l verbose
|
||||
parser:command "install"
|
||||
:add_help(false)
|
||||
assert.equal([[
|
||||
complete -c foo -n '__fish_use_subcommand' -xa 'help' -d 'Show help for commands'
|
||||
complete -c foo -n '__fish_seen_subcommand_from help' -xa 'help'
|
||||
complete -c foo -n '__fish_seen_subcommand_from help' -xa 'install'
|
||||
complete -c foo -n '__fish_use_subcommand' -xa 'help' -d 'Show help for commands'
|
||||
complete -c foo -n '__fish_use_subcommand' -xa 'install'
|
||||
]], parser:get_fish_complete())
|
||||
end)
|
||||
|
Reference in New Issue
Block a user