summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-23 15:57:02 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-23 15:57:02 -0700
commit02c5c1af787e35aacb5580e7f4e90e070d7670eb (patch)
tree7cde4836737e0f6e6103812c28e8ec4407052bab
parente24e8fd4e50a6e692bed1d9b1c0d4b5aa47d8e93 (diff)
parentdee7d5344efaa4499635630737079492a7061972 (diff)
downloadvyatta-op-02c5c1af787e35aacb5580e7f4e90e070d7670eb.tar.gz
vyatta-op-02c5c1af787e35aacb5580e7f4e90e070d7670eb.zip
Merge branch 'islavista' of /home/shemminger/vyatta/islavista/vyatta-op into jenner
-rw-r--r--templates/show/history/node.def2
-rw-r--r--templates/show/history/node.tag/node.def3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/show/history/node.def b/templates/show/history/node.def
new file mode 100644
index 0000000..27ea6fd
--- /dev/null
+++ b/templates/show/history/node.def
@@ -0,0 +1,2 @@
+help: show command history
+run: history | ${VYATTA_PAGER:-cat}
diff --git a/templates/show/history/node.tag/node.def b/templates/show/history/node.tag/node.def
new file mode 100644
index 0000000..c25d2fa
--- /dev/null
+++ b/templates/show/history/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Display last commands in history
+allowed: echo -n '<NUMBER>'
+run: history "$3" | ${VYATTA_PAGER:-cat}