diff options
| author | Rajasi Kulkarni <rajasikulkarni18@gmail.com> | 2016-08-22 00:26:46 +0530 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-09-26 22:42:10 -0400 |
| commit | 78312ca9afea22f6511f2421dccb0736f394e9c8 (patch) | |
| tree | a642188484c98b61a01ec6483d80b14dc4b519dd /doc/source/command-objects/object.rst | |
| parent | f19240fc29c542726acd11a7f71f307be219695f (diff) | |
| download | python-openstackclient-78312ca9afea22f6511f2421dccb0736f394e9c8.tar.gz | |
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
Diffstat (limited to 'doc/source/command-objects/object.rst')
| -rw-r--r-- | doc/source/command-objects/object.rst | 5 |
1 files changed, 5 insertions, 0 deletions
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 <name>] <container> <filename> [<filename> ...] +.. option:: --name <name> + + Upload a file and rename it. Can only be used when uploading a single object + .. describe:: <container> Container for new object |
