diff --git a/openstackclient/shell.py b/openstackclient/shell.py index 76cc3c6a90..56c9328238 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -480,6 +480,7 @@ def interact(self): # this path does not call prepare_to_run_command() self.authenticate_user() self.restapi.set_auth(self.client_manager.identity.auth_token) + sys.argv =[] #fix for https://bugs.launchpad.net/python-openstackclient/+bug/1103218 super(OpenStackShell, self).interact()