From cd50a751d1480424cdf103fd748b514330029c24 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 31 Jan 2008 07:58:38 -0800 Subject: convert templates to new syntax --- templates/protocols/rip/default-distance/node.def | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'templates/protocols/rip/default-distance/node.def') diff --git a/templates/protocols/rip/default-distance/node.def b/templates/protocols/rip/default-distance/node.def index a8ff5914..5ad7b7b9 100644 --- a/templates/protocols/rip/default-distance/node.def +++ b/templates/protocols/rip/default-distance/node.def @@ -1,8 +1,8 @@ type: u32 -help: "Administrative distance" -syntax: $(@) >= 1 && $(@) <= 255; "must be between 1 and 255" -update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ - -c \"distance $(@) \" " -delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ - -c \"no distance $(@) \" " -#comp_help: Enter a distance valude between 1-255 +help: Administrative distance +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "must be between 1 and 255" +update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ + -c \"distance $VAR(@) \" " +delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ + -c \"no distance $VAR(@) \" " +comp_help: Enter a distance valude between 1-255 -- cgit v1.2.3