From 78312ca9afea22f6511f2421dccb0736f394e9c8 Mon Sep 17 00:00:00 2001 From: Rajasi Kulkarni Date: Mon, 22 Aug 2016 00:26:46 +0530 Subject: Add option "--name" to command "openstack object create" Option "--name" can be used to set as the object name of the file to be uploaded in the container. Similar to option "--object-name" in command "swift upload". Added unit test case to ensure an exception is raised when using option "--name" for uploading multiple objects. Change-Id: Ied7827841f6ca1cf9d4b48e304cbe5d62eda38ab Closes-Bug: #1607972 --- doc/source/command-objects/object.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/source/command-objects/object.rst') diff --git a/doc/source/command-objects/object.rst b/doc/source/command-objects/object.rst index 5aaad8a5..11dfd30e 100644 --- a/doc/source/command-objects/object.rst +++ b/doc/source/command-objects/object.rst @@ -13,9 +13,14 @@ Upload object to container .. code:: bash os object create + [--name ] [ ...] +.. option:: --name + + Upload a file and rename it. Can only be used when uploading a single object + .. describe:: Container for new object -- cgit v1.2.1