summaryrefslogtreecommitdiff
path: root/data/examples
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-04-16 22:11:46 +0600
committerDaniil Baturin <daniil@baturin.org>2015-04-16 22:11:46 +0600
commit0f53afe98de76783804471b850b0f282e8321b77 (patch)
treeb37de031a907ca3b944c3669efbb7f2fb18564d9 /data/examples
parentdd2fc4d0d4b675220a6d66d5b4f57c10bfa25793 (diff)
downloadvyconf-0f53afe98de76783804471b850b0f282e8321b77.tar.gz
vyconf-0f53afe98de76783804471b850b0f282e8321b77.zip
Use two-part valueHelp with format and description.
Rename helpString to just help.
Diffstat (limited to 'data/examples')
-rw-r--r--data/examples/interface_definition_sample.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/data/examples/interface_definition_sample.xml b/data/examples/interface_definition_sample.xml
index fe22e17..8b48c20 100644
--- a/data/examples/interface_definition_sample.xml
+++ b/data/examples/interface_definition_sample.xml
@@ -4,7 +4,7 @@
<children>
<tagNode name="user">
<properties>
- <helpString>User name</helpString>
+ <help>User name</help>
<constraint>
<regex>[a-z][a-zA-Z0-9]+</regex>
<errorMessage>User name must start with a letter and consist of letters and digits</errorMessage>
@@ -13,15 +13,18 @@
<children>
<leafNode name="full-name">
<properties>
- <helpString>User full name</helpString>
+ <help>User full name</help>
</properties>
</leafNode>
</children>
</tagNode>
<leafNode name="hostname">
<properties>
- <helpString>System hostname</helpString>
- <valueHelpString>text</valueHelpString>
+ <help>System hostname</help>
+ <valueHelp>
+ <format>text</format>
+ <description>System hostname (alphanumeric, must start with a letter)</description>
+ </valueHelp>
</properties>
</leafNode>
</children>