From ee156b5fe3ebb118e5cb8da9e9e002d8d0baccc7 Mon Sep 17 00:00:00 2001 From: SongmingYan Date: Thu, 2 Jun 2016 05:10:18 -0400 Subject: [PATCH] Fix the problem of router delete Change "Remove" to "Delete" when using it in route-interface-delete. Change-Id: I9ebc38c787acbcb42d2f8efeee41f6cb943e4b9b Related-bug: #1560446 --- doc/source/command-objects/router.rst | 2 +- openstackclient/network/v2/router.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst index 9ca7661ede..f6d5500c65 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -150,7 +150,7 @@ Remove a port from a router .. describe:: - Port to be removed (name or ID) + Port to be removed and deleted (name or ID) router remove subnet -------------------- diff --git a/openstackclient/network/v2/router.py b/openstackclient/network/v2/router.py index 6271a8784f..2f41838ffb 100644 --- a/openstackclient/network/v2/router.py +++ b/openstackclient/network/v2/router.py @@ -309,7 +309,7 @@ class RemovePortFromRouter(command.Command): parser.add_argument( 'port', metavar='', - help=_("Port to be removed (name or ID)") + help=_("Port to be removed and deleted (name or ID)") ) return parser