don't use baseCmdName when printing client version
This patch addresses an issue where the client name will be printed as
what the "base / root" command was when invoking the "version" cmd.
@@ -292,7 +292,7 @@ func CommandFor(basename string) *cobra.Command {
case "kubectl":
cmd = NewCmdKubectl(basename, out)
default:
- cmd = NewCommandCLI(basename, basename, in, out, errout)
+ cmd = NewCommandCLI("oc", "oc", in, out, errout)
}
if cmd.UsageFunc() == nil {
