summaryrefslogtreecommitdiff
path: root/examples/transcripts/pirate.transcript
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-01-20 20:01:24 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-01-20 20:01:24 -0500
commit6bc3c7528b02f0160c31eb008f1218ee4c3344bc (patch)
tree48f369edfa4225e38afc5eca5695c14646e54979 /examples/transcripts/pirate.transcript
parentbd948d727e0e13fa5fd77199c06fcd3dfdda9b39 (diff)
downloadcmd2-git-6bc3c7528b02f0160c31eb008f1218ee4c3344bc.tar.gz
History enhancements
History changes: - Unknown commands are no longer saved in the history - history command now has a -t option to generate a transcript based on commands in the history Also: - Moved examples transcripts from examples to examples/transcripts - Added a new transcript for use with the pirate.py example
Diffstat (limited to 'examples/transcripts/pirate.transcript')
-rw-r--r--examples/transcripts/pirate.transcript10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/transcripts/pirate.transcript b/examples/transcripts/pirate.transcript
new file mode 100644
index 00000000..570f0cd7
--- /dev/null
+++ b/examples/transcripts/pirate.transcript
@@ -0,0 +1,10 @@
+arrr> loot
+Now we gots 1 doubloons
+arrr> loot
+Now we gots 2 doubloons
+arrr> loot
+Now we gots 3 doubloons
+arrr> drink 3
+Now we gots 0 doubloons
+arrr> yo --ho 3 rum
+yo ho ho ho and a bottle of rum