diff --git a/datalad/cli/parser.py b/datalad/cli/parser.py index b3c44026ca..0cf1804986 100644 --- a/datalad/cli/parser.py +++ b/datalad/cli/parser.py @@ -128,9 +128,10 @@ def setup_parser( # when completing and we have no incomplete option or parameter # we still need to offer all commands for completion - if (completing and status == 'allknown') or ( + if ((completing and status == 'allknown') or ( status == 'subcommand' and parseinfo not in - get_commands_from_groups(interface_groups)): + get_commands_from_groups(interface_groups)) + or status == 'error'): # we know the command is not in the core package # still a chance it could be in an extension command_provider = 'extension'