From a2e3a16221915946ee0d847b1e95187c0f628079 Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Tue, 7 May 2013 11:18:38 -0500 Subject: Rename all instances of 'metadata' to 'property'. Change-Id: I454cbe685dc5afa0a09ecc976a90d6eb6bc57d14 --- openstackclient/image/v1/image.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openstackclient/image') diff --git a/openstackclient/image/v1/image.py b/openstackclient/image/v1/image.py index fa566bd9..43cae21c 100644 --- a/openstackclient/image/v1/image.py +++ b/openstackclient/image/v1/image.py @@ -92,11 +92,11 @@ class CreateImage(show.ShowOne): help="Similar to --location, but this indicates that the image" " should immediately be copied from the data store.") parser.add_argument( - "--metadata", + "--property", metavar="", default=[], action="append", - help="Arbitrary metadata to associate with image.") + help="Arbitrary property to associate with image.") protected_group = parser.add_mutually_exclusive_group() protected_group.add_argument( "--protected", @@ -136,8 +136,8 @@ class CreateImage(show.ShowOne): args.pop("variables") args["properties"] = {} - for _metadata in args.pop("metadata"): - key, value = _metadata.split("=", 1) + for _property in args.pop("property"): + key, value = _property.split("=", 1) args["properties"][key] = value if "location" not in args and "copy_from" not in args: -- cgit v1.2.1