Ravi Nori has uploaded a new change for review. Change subject: cli: "help add" fails to format the error when number of provided args in incorrect ......................................................................
cli: "help add" fails to format the error when number of provided args in incorrect 'help add' command for gluster-related entities like glustervolume and brick does not work. The following error is seen - (connected)]# help add glustervolume unknown error: not enough arguments for format string Change-Id: I48b8880078bb2f9c035b5325af60366bf1c94ae1 Bug-Url: https://bugzilla.redhat.com/922018 Signed-off-by: Ravi Nori <rn...@redhat.com> --- M src/ovirtcli/command/command.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/07/13707/1 diff --git a/src/ovirtcli/command/command.py b/src/ovirtcli/command/command.py index 3e0fd90..1a818c0 100644 --- a/src/ovirtcli/command/command.py +++ b/src/ovirtcli/command/command.py @@ -423,7 +423,7 @@ err_str = Messages.Error.NO_SUCH_CONTEXT if context_variants: err_str = err_str + (Messages.Info.POSSIBALE_ARGUMENTS_COMBINATIONS - + str(context_variants)) + % str(context_variants)) self.error(err_str % resource) elif isinstance(resource, brokers.Base): -- To view, visit http://gerrit.ovirt.org/13707 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I48b8880078bb2f9c035b5325af60366bf1c94ae1 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: cli_3.2 Gerrit-Owner: Ravi Nori <rn...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches