Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix keypair-delete help documents

The help documents of keypair-delete parameter should indicate "name".

Fixes bug 1158733

Change-Id: Ib7e648d22024828f8a4e5b3b51c5ed8f6b4dc057
  • Loading branch information...
commit 609cbcef17cd0051ecb86bc60a29cf9c2be2517f 1 parent 22b8856
@masayukig masayukig authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.rst
  2. +1 −1  novaclient/v1_1/shell.py
View
2  README.rst
@@ -129,7 +129,7 @@ You'll find complete documentation on the shell by running
image-meta Set or Delete metadata on an image.
image-show Show details about the given image.
keypair-add Create a new key pair for use with instances
- keypair-delete Delete keypair by its id
+ keypair-delete Delete keypair by its name
keypair-list Print a list of keypairs for a user
list List active servers.
live-migration Migrates a running instance to a new machine.
View
2  novaclient/v1_1/shell.py
@@ -2039,7 +2039,7 @@ def do_keypair_add(cs, args):
@utils.arg('name', metavar='<name>', help='Keypair name to delete.')
def do_keypair_delete(cs, args):
- """Delete keypair by its id"""
+ """Delete keypair by its name"""
name = args.name
cs.keypairs.delete(name)
Please sign in to comment.
Something went wrong with that request. Please try again.