summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-11-28 13:44:42 -0800
committerTom Grennan <tgrennan@vyatta.com>2007-11-28 13:44:42 -0800
commitb70f4dc825db34703d0fd1c0e9020695e4dd62f7 (patch)
tree439724c6c5f09679b97b6a2802e4760a591e3b4c
parenta2d883a080a5f2d95efdc84d8667ce9bfef6add3 (diff)
downloadvyatta-op-b70f4dc825db34703d0fd1c0e9020695e4dd62f7.tar.gz
vyatta-op-b70f4dc825db34703d0fd1c0e9020695e4dd62f7.zip
use '<*>' format for symbolic help
-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