Michael Pasternak has uploaded a new change for review. Change subject: cli: fix session_timeout help #1005749 ......................................................................
cli: fix session_timeout help #1005749 api Bug 1005749 removes support for the endless session Change-Id: I1b992f1c08a34c3606e3ef2167bbb23c0d9752cf Signed-off-by: Michael pasternak <[email protected]> --- M src/ovirtcli/command/connect.py M src/ovirtcli/options.py 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/19/19019/1 diff --git a/src/ovirtcli/command/connect.py b/src/ovirtcli/command/connect.py index 71f693a..89c4e4f 100644 --- a/src/ovirtcli/command/connect.py +++ b/src/ovirtcli/command/connect.py @@ -53,7 +53,7 @@ * [insecure] - Allow connecting to SSL sites without certificates. * [port] - The port to use (if not specified in url). * [timeout] - The request timeout. - * [session-timeout] - The authentication session timeout (0 disables session expiry). + * [session-timeout] - The authentication session timeout (positive number). """ def execute(self): diff --git a/src/ovirtcli/options.py b/src/ovirtcli/options.py index 2f58399..ab41119 100644 --- a/src/ovirtcli/options.py +++ b/src/ovirtcli/options.py @@ -48,7 +48,7 @@ action='store_true') self.add_option('-P', '--port', help='specify port') self.add_option('-T', '--timeout', help='specify request timeout') - self.add_option('-S', '--session-timeout', help='specify authentication session timeout (0 disables session expiry)') + self.add_option('-S', '--session-timeout', help='specify authentication session timeout (positive number)') self.add_option('-c', '--connect', action='store_true', help='automatically connect') self.add_option('-f', '--file', metavar='FILE', -- To view, visit http://gerrit.ovirt.org/19019 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1b992f1c08a34c3606e3ef2167bbb23c0d9752cf Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
