Fix keypair-delete help documents

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

Fixes bug 1158733

Change-Id: Ib7e648d22024828f8a4e5b3b51c5ed8f6b4dc057
This commit is contained in:
Masayuki Igawa 2013-03-22 21:29:55 +09:00
parent 22b8856815
commit 609cbcef17
2 changed files with 2 additions and 2 deletions

View File

@ -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 File

@ -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)