Skip to content

Commit 578a57d

Browse files
author
Dean Troyer
committed
Set object store arg order in docs
argparse displays positional args last in the help output, our docs should match. Change-Id: I01e8d62cb8c1b537ea0441b8bdf8880a4c856b32
1 parent e48c7af commit 578a57d

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

doc/source/command-objects/container.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ Set container properties
9898
.. code:: bash
9999
100100
os container set
101-
[<container>]
102101
[--property <key=value> [...] ]
103-
104-
.. describe:: <container>
105-
106-
Container to modify
102+
[<container>]
107103
108104
.. option:: --property <key=value>
109105

110106
Set a property on this container (repeat option to set multiple properties)
111107

108+
.. describe:: <container>
109+
110+
Container to modify
111+
112112
container show
113113
--------------
114114

@@ -133,13 +133,13 @@ Unset container properties
133133
.. code:: bash
134134
135135
os container unset
136-
[<container>]
137136
[--property <key>]
138-
139-
.. describe:: <container>
140-
141-
Container to modify
137+
[<container>]
142138
143139
.. option:: --property <key>
144140

145141
Property to remove from container (repeat option to remove multiple properties)
142+
143+
.. describe:: <container>
144+
145+
Container to modify

doc/source/command-objects/object.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,13 @@ Set object properties
128128
.. code:: bash
129129
130130
os object set
131+
[--property <key=value> [...] ]
131132
<container>
132133
[<object>]
133-
[--property <key=value> [...] ]
134+
135+
.. option:: --property <key=value>
136+
137+
Set a property on this object (repeat option to set multiple properties)
134138

135139
.. describe:: <container>
136140

@@ -140,10 +144,6 @@ Set object properties
140144

141145
Object to modify
142146

143-
.. option:: --property <key=value>
144-
145-
Set a property on this object (repeat option to set multiple properties)
146-
147147
object show
148148
-----------
149149

@@ -173,9 +173,13 @@ Unset object properties
173173
.. code:: bash
174174
175175
os object unset
176+
[--property <key>]
176177
<container>
177178
[<object>]
178-
[--property <key>]
179+
180+
.. option:: --property <key>
181+
182+
Property to remove from object (repeat option to remove multiple properties)
179183

180184
.. describe:: <container>
181185

@@ -184,7 +188,3 @@ Unset object properties
184188
.. describe:: <object>
185189

186190
Object to modify
187-
188-
.. option:: --property <key>
189-
190-
Property to remove from object (repeat option to remove multiple properties)

0 commit comments

Comments
 (0)