about summary refs log tree commit diff stats
path: root/001help.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-06 01:05:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-11-06 01:05:22 -0700
commit838b1afce9a957218401a8a4f0d8316c9f06182f (patch)
tree8ee5856a6693fd6cffbdd97dd156f5240b14cd30 /001help.cc
parent7e8d0ba8fb613af6ab0f16bcb9a5667cadb02da6 (diff)
downloadmu-838b1afce9a957218401a8a4f0d8316c9f06182f.tar.gz
3630 - generate trace for a single scenario
To do so, run:

  $ ./mu --trace test <scenario name>

The trace will then be in file 'interactive'.
Diffstat (limited to '001help.cc')
-rw-r--r--001help.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/001help.cc b/001help.cc
index 03c21d4c..4fc42d13 100644
--- a/001help.cc
+++ b/001help.cc
@@ -18,10 +18,16 @@ if (argc <= 1 || is_equal(argv[1], "--help")) {
        << "Examples:\n"
        << "  To load files and run 'main':\n"
        << "    mu file1.mu file2.mu ...\n"
+       << "  To run 'main' and dump a trace of all operations at the end:\n"
+       << "    mu --trace file1.mu file2.mu ...\n"
        << "  To run all tests:\n"
        << "    mu test\n"
        << "  To load files and then run all tests:\n"
        << "    mu test file1.mu file2.mu ...\n"
+       << "  To run a single Mu scenario:\n"
+       << "    mu test file1.mu file2.mu ... scenario\n"
+       << "  To run a single Mu scenario and dump a trace at the end:\n"
+       << "    mu --trace test file1.mu file2.mu ... scenario1 scenario2 ... \n"
        << "  To load files and run only the tests in explicitly loaded files (for apps):\n"
        << "    mu --test-only-app test file1.mu file2.mu ...\n"
        << "  To load all files with a numeric prefix in a directory:\n"