From 067320a0aa36ba97d64ff5473d4ad0b3877774e4 Mon Sep 17 00:00:00 2001 From: Tom Grennan <tgrennan@vyatta.com> Date: Fri, 5 Oct 2007 14:10:16 -0700 Subject: Use empty or missing "allowed:" fields in node.tag/node.def as wild cards rather than "echo -n --". Also, discoverd a way to use an apparently blank line in help completion. --- templates/show/ntp/node.tag/node.def | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/show/ntp') diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def index 9ff0137..aa0dfaa 100644 --- a/templates/show/ntp/node.tag/node.def +++ b/templates/show/ntp/node.tag/node.def @@ -1,4 +1,3 @@ help: Show date and time of given NTP server -allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} ; - echo -- +allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} run: ntpdate -q ${3:-ntp.vyatta.com} -- cgit v1.2.3