From 067320a0aa36ba97d64ff5473d4ad0b3877774e4 Mon Sep 17 00:00:00 2001 From: Tom Grennan 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/set/date/ntp/node.tag/node.def | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/set/date/ntp') diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def index f8be449..be4de16 100644 --- a/templates/set/date/ntp/node.tag/node.def +++ b/templates/set/date/ntp/node.tag/node.def @@ -1,4 +1,3 @@ help: Set system date and time with 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: sudo ntpdate ${4:-ntp.vyatta.com} -- cgit v1.2.3