summaryrefslogtreecommitdiff
path: root/interface-definitions/include/rip-redistribute.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
commit19161b72ea9d06327e75360e121753b5f9a754c8 (patch)
tree8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/include/rip-redistribute.xml.i
parentb32385f9acef1630771838a4e0baa9d0c40dd98e (diff)
downloadvyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.tar.gz
vyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.zip
xml: fix valueHelp format strings
A pre-defined list of common format strings to be used inside the <format> node of <valueHelp> is available from [1]. Adjust all currently in use <format> nodes to re-use the predefined strings over writing them on their own by even encapsulating the <> signs as &lt; and &gt;. [1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/include/rip-redistribute.xml.i')
-rw-r--r--interface-definitions/include/rip-redistribute.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/rip-redistribute.xml.i b/interface-definitions/include/rip-redistribute.xml.i
index d287c1c2b..f9dba3ffe 100644
--- a/interface-definitions/include/rip-redistribute.xml.i
+++ b/interface-definitions/include/rip-redistribute.xml.i
@@ -3,7 +3,7 @@
<properties>
<help>Metric for redistributed routes</help>
<valueHelp>
- <format>&lt;1-16&gt;</format>
+ <format>u32:1-16</format>
<description>Redistribute route metric</description>
</valueHelp>
<constraint>
@@ -15,7 +15,7 @@
<properties>
<help>Route map reference</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Route map reference</description>
</valueHelp>
<completionHelp>