Sfoglia il codice sorgente

Add min/max attributes to COMMAND tag

Serj Kalichev 1 anno fa
parent
commit
7c15b5d7e6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      klish.xsd

+ 2 - 0
klish.xsd

@@ -432,6 +432,8 @@
 		<xs:attribute name="name" type="xs:string" use="optional"/>
 		<xs:attribute name="help" type="xs:string" use="optional"/>
 		<xs:attribute name="mode" type="entry_mode_t" use="optional" default="sequence"/>
+		<xs:attribute name="min" type="xs:string" use="optional" default="1"/>
+		<xs:attribute name="max" type="xs:string" use="optional" default="1"/>
 		<xs:attribute name="ref" type="xs:string" use="optional"/>
 		<xs:attribute name="value" type="xs:string" use="optional"/>
 		<xs:attribute name="restore" type="xs:boolean" use="optional" default="false"/>