From 1a86e15787cdda44b8702895bb97acf107ef3a07 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 16 Jul 2010 15:05:01 -0700 Subject: Use val_help: for address nodes Use common format for address nodes --- templates/interfaces/ethernet/node.tag/address/node.def | 9 ++++----- .../interfaces/ethernet/node.tag/vif/node.tag/address/node.def | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'templates/interfaces/ethernet') diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def index 7ed12bba..f503b174 100644 --- a/templates/interfaces/ethernet/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/address/node.def @@ -48,8 +48,7 @@ delete: allowed: echo "dhcp dhcpv6 <>" -comp_help:Possible completions: - Set the IPv4 address and prefix length - Set the IPv6 address and prefix length - dhcp Set the IPv4 address and prefix length via DHCP - dhcpv6 Set the IPv6 address and prefix length via DHCPv6 +val_help:; IP address and prefix length +val_help:; IPv6 address and prefix length +val_help:dhcp; Dynamic Host Configuration Protocol +val_help:dhcpv6; Dynamic Host Configuration Protocol for IPv6 diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def index a5edef6d..1e8b2f46 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def @@ -21,7 +21,6 @@ delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --de allowed: echo "dhcp <>" -comp_help:Possible completions: - Set the IP address and prefix length - Set the IPv6 address and prefix length - dhcp Set the IP address and prefix length via DHCP +val_help:; IP address and prefix length +val_help:; IPv6 address and prefix length +val_help:dhcp; Dynamic Host Configuration Protocol -- cgit v1.2.3