From 845d1bd87be28deb65db22e47e29ba7a89c37b4b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 27 Apr 2010 15:20:38 -0700 Subject: Make interface help completion strings consistent Use same format/syntax over all interface types. Bug 5257 --- templates/interfaces/bridge/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/interfaces/bridge') diff --git a/templates/interfaces/bridge/node.def b/templates/interfaces/bridge/node.def index 55c961ba..343cf984 100644 --- a/templates/interfaces/bridge/node.def +++ b/templates/interfaces/bridge/node.def @@ -1,7 +1,8 @@ tag: priority: 310 type: txt -help: Set bridge interface +help: Set bridge interface name +comp_help: "Enter bridge interface name (br0 - br999)" syntax:expression: pattern $VAR(@) "^br[0-9]+$" ; "Must be (br0 - br999)" @@ -16,4 +17,3 @@ delete: if ! /opt/vyatta/sbin/vyatta-bridgegroup-depedency.pl \ sudo ip link set $VAR(@) down; sudo brctl delbr $VAR(@); -comp_help: "Enter bridge interface name (br0 - br999)" -- cgit v1.2.3