mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 00:26:33 -06:00
cli: use full name when executing a command
Fixes the CLI not to always call the default version of a command even when the version was explicitly specified. https://fedorahosted.org/freeipa/ticket/6279 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
82e754e9c5
commit
a3d178b86d
@ -1101,7 +1101,7 @@ class cli(backend.Executioner):
|
||||
cmd = self.get_command(argv)
|
||||
if cmd is None:
|
||||
return
|
||||
name = cmd.name
|
||||
name = cmd.full_name
|
||||
kw = self.parse(cmd, argv[1:])
|
||||
if not isinstance(cmd, frontend.Local):
|
||||
self.create_context()
|
||||
|
Loading…
Reference in New Issue
Block a user