[elbe-devel] [PATCH v4 13/16] schema: partition-command: Add documentation for attributes

Viraj Shah viraj.shah at linutronix.de
Tue Oct 18 16:50:59 CEST 2022


* Add missing attribute for documentation of partition-command.
* Fix indentation.

Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
Reviewed-by: Bastian Germann <bage at linutronix.de>
---
 schema/dbsfed.xsd | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 4f2580407..b90cf4372 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2383,16 +2383,28 @@
     </simpleContent>
   </complexType>
 
-    <complexType name="partition-command">
+  <complexType name="partition-command">
     <annotation>
       <documentation>
-	The node's text should be a valid shell commands
+        The tag's text node should be valid shell commands.
       </documentation>
     </annotation>
     <simpleContent>
       <extension base="rfs:string">
-        <attribute name="part" type="integer" use="required" />
-        <attribute name="nomount" type="boolean" use="optional" />
+        <attribute name="part" type="integer" use="required">
+          <annotation>
+            <documentation>
+              This is the device partition number.
+            </documentation>
+          </annotation>
+        </attribute>
+        <attribute name="nomount" type="boolean" use="optional">
+          <annotation>
+            <documentation>
+              If true, device will not be mounted.
+            </documentation>
+          </annotation>
+        </attribute>
       </extension>
     </simpleContent>
   </complexType>
-- 
2.30.2



More information about the elbe-devel mailing list