Juan Hernandez has uploaded a new change for review. Change subject: cli: Indicate that session-timeout is in minutes ......................................................................
cli: Indicate that session-timeout is in minutes This patch modifies the CLI so that the documentation for the -S option explicitly indicates that the unit is minutes. Change-Id: I399879dadb29546be75d0f1a64dc1cc10c6917f0 Signed-off-by: Juan Hernandez <[email protected]> (cherry picked from commit 0c7beaea28ece95dfd8a4e2b251473c6e820b34d) --- M src/ovirtcli/command/connect.py M src/ovirtcli/infrastructure/options.py 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/47/29647/1 diff --git a/src/ovirtcli/command/connect.py b/src/ovirtcli/command/connect.py index 08d1e2a..ad509f4 100644 --- a/src/ovirtcli/command/connect.py +++ b/src/ovirtcli/command/connect.py @@ -61,7 +61,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 (positive number). + * [session-timeout] - The authentication session timeout in minutes (positive number). """ def execute(self): diff --git a/src/ovirtcli/infrastructure/options.py b/src/ovirtcli/infrastructure/options.py index 17a2770..0d29a82 100644 --- a/src/ovirtcli/infrastructure/options.py +++ b/src/ovirtcli/infrastructure/options.py @@ -50,7 +50,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 (positive number)') + self.add_option('-S', '--session-timeout', help='specify authentication session timeout in minutes (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/29647 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I399879dadb29546be75d0f1a64dc1cc10c6917f0 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: cli_3.5 Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
