summaryrefslogtreecommitdiff
path: root/templates/show/date
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-02 18:10:09 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-02 18:10:09 -0700
commit69ec82541cd5d0c47d541ce94b1281a38c230d5d (patch)
treeb15ef0e981d9aef4783f53a017864fa5632c8d45 /templates/show/date
parent3050d1d8fd671528e4258f0dd0ff26748e028cb7 (diff)
downloadvyatta-op-69ec82541cd5d0c47d541ce94b1281a38c230d5d.tar.gz
vyatta-op-69ec82541cd5d0c47d541ce94b1281a38c230d5d.zip
move operational date command completion to:
show date [utc] show ntp [SERVER] assign date [ntp <SERVER>]
Diffstat (limited to 'templates/show/date')
-rw-r--r--templates/show/date/node.def2
-rw-r--r--templates/show/date/utc/node.def2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/show/date/node.def b/templates/show/date/node.def
new file mode 100644
index 0000000..10e01a3
--- /dev/null
+++ b/templates/show/date/node.def
@@ -0,0 +1,2 @@
+help: "Show system date and time"
+run: /bin/date
diff --git a/templates/show/date/utc/node.def b/templates/show/date/utc/node.def
new file mode 100644
index 0000000..d24808f
--- /dev/null
+++ b/templates/show/date/utc/node.def
@@ -0,0 +1,2 @@
+help: "Show system date and time as Coordinated Universal Time"
+run: /bin/date -u