diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
commit | 19161b72ea9d06327e75360e121753b5f9a754c8 (patch) | |
tree | 8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/include/nat-translation-port.xml.i | |
parent | b32385f9acef1630771838a4e0baa9d0c40dd98e (diff) | |
download | vyos-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 < and >.
[1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/include/nat-translation-port.xml.i')
-rw-r--r-- | interface-definitions/include/nat-translation-port.xml.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/nat-translation-port.xml.i b/interface-definitions/include/nat-translation-port.xml.i index e3ea42e4d..a3e05316f 100644 --- a/interface-definitions/include/nat-translation-port.xml.i +++ b/interface-definitions/include/nat-translation-port.xml.i @@ -7,7 +7,7 @@ <description>Numeric IP port</description> </valueHelp> <valueHelp> - <format><start>-<end></format> + <format>range</format> <description>Numbered port range (e.g., 1001-1005)</description> </valueHelp> </properties> |