You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addAlias and removeAlias method incorrectly print the qualified name of the parent command instead of the qualified name of the command whose alias is being added.
Example:
top
|
+-- sub (alias: s)
The above would print:
[picocli DEBUG] Creating CommandSpec for TopCommand@557a1e2d with factory picocli.CommandLine$DefaultFactory
[picocli DEBUG] Creating CommandSpec for class SubCommand with factory picocli.CommandLine$DefaultFactory
[picocli DEBUG] Getting a SubCommand instance from factory picocli.CommandLine$DefaultFactory@c7a975a
[picocli DEBUG] Factory returned a SubCommand instance (2c1b9e4b)
[picocli DEBUG] Adding subcommand 'sub' to 'top'
[picocli DEBUG] Adding alias 's' for 'top'
That last line should be:
[picocli DEBUG] Adding alias 'top s' for 'top sub'
The
addAlias
andremoveAlias
method incorrectly print the qualified name of the parent command instead of the qualified name of the command whose alias is being added.Example:
The above would print:
That last line should be:
The text was updated successfully, but these errors were encountered: