summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/set/date/node.tag/node.def2
-rw-r--r--templates/set/node.tag/node.def2
-rw-r--r--templates/telnet/node.tag/node.tag/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/set/date/node.tag/node.def b/templates/set/date/node.tag/node.def
index 30fecc0..5c54cac 100644
--- a/templates/set/date/node.tag/node.def
+++ b/templates/set/date/node.tag/node.def
@@ -1,3 +1,3 @@
help: Set system date and time
-allowed: echo -n MMDDhhmm MMDDhhmmYY MMDDhhmmCCYY MMDDhhmmCCYY.ss
+allowed: echo -n '<MMDDhhmm>' '<MMDDhhmmYY>' '<MMDDhhmmCCYY>' '<MMDDhhmmCCYY.ss>'
run: sudo /bin/date $3
diff --git a/templates/set/node.tag/node.def b/templates/set/node.tag/node.def
index 4f6350d..908d521 100644
--- a/templates/set/node.tag/node.def
+++ b/templates/set/node.tag/node.def
@@ -1,3 +1,3 @@
help: Bash builtin set command
-allowed: echo -n OPTION...
+allowed: echo -n '<OPTION>'
run: builtin $*
diff --git a/templates/telnet/node.tag/node.tag/node.def b/templates/telnet/node.tag/node.tag/node.def
index 84c5afb..4e0c65e 100644
--- a/templates/telnet/node.tag/node.tag/node.def
+++ b/templates/telnet/node.tag/node.tag/node.def
@@ -1,5 +1,5 @@
help: telnet to <hostname|address> <port|service>
-allowed: echo -n PORT SERVICE
+allowed: echo -n '<PORT>'
run: test -x ${vyatta_sbindir}/telnet &&
${vyatta_sbindir}/telnet $2 $3 ||
/usr/bin/telnet $2 $3