From 578a57dcc349cf0c71403e8e56f4f3bf01842513 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Tue, 6 Oct 2015 08:46:28 -0500 Subject: [PATCH] Set object store arg order in docs argparse displays positional args last in the help output, our docs should match. Change-Id: I01e8d62cb8c1b537ea0441b8bdf8880a4c856b32 --- doc/source/command-objects/container.rst | 20 ++++++++++---------- doc/source/command-objects/object.rst | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/source/command-objects/container.rst b/doc/source/command-objects/container.rst index 3e52d56b05..251e3f314a 100644 --- a/doc/source/command-objects/container.rst +++ b/doc/source/command-objects/container.rst @@ -98,17 +98,17 @@ Set container properties .. code:: bash os container set - [] [--property [...] ] - -.. describe:: - - Container to modify + [] .. option:: --property Set a property on this container (repeat option to set multiple properties) +.. describe:: + + Container to modify + container show -------------- @@ -133,13 +133,13 @@ Unset container properties .. code:: bash os container unset - [] [--property ] - -.. describe:: - - Container to modify + [] .. option:: --property Property to remove from container (repeat option to remove multiple properties) + +.. describe:: + + Container to modify diff --git a/doc/source/command-objects/object.rst b/doc/source/command-objects/object.rst index a9c4049b42..ac81441702 100644 --- a/doc/source/command-objects/object.rst +++ b/doc/source/command-objects/object.rst @@ -128,9 +128,13 @@ Set object properties .. code:: bash os object set + [--property [...] ] [] - [--property [...] ] + +.. option:: --property + + Set a property on this object (repeat option to set multiple properties) .. describe:: @@ -140,10 +144,6 @@ Set object properties Object to modify -.. option:: --property - - Set a property on this object (repeat option to set multiple properties) - object show ----------- @@ -173,9 +173,13 @@ Unset object properties .. code:: bash os object unset + [--property ] [] - [--property ] + +.. option:: --property + + Property to remove from object (repeat option to remove multiple properties) .. describe:: @@ -184,7 +188,3 @@ Unset object properties .. describe:: Object to modify - -.. option:: --property - - Property to remove from object (repeat option to remove multiple properties)