summaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-01-10 15:39:34 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-01-10 15:39:34 -0800
commit642b145b1f1941d107fac76072eae9cfc46d9567 (patch)
tree739c876b01c06b8f8d603d1f16455b777a99f78f /debug.c
parent75582a6861d8ae7867bd5acf426178089cd40505 (diff)
downloadtxr-642b145b1f1941d107fac76072eae9cfc46d9567.tar.gz
txr-642b145b1f1941d107fac76072eae9cfc46d9567.tar.bz2
txr-642b145b1f1941d107fac76072eae9cfc46d9567.zip
* debug.c (help): Help text updated.
(debug): Fix conflicting command assignment. Show form is now 'o'.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index 980b8eb3..fa7c439e 100644
--- a/debug.c
+++ b/debug.c
@@ -58,7 +58,7 @@ static void help(val stream)
"? - help s - step into form\n"
"h - help n - step over form\n"
"c - continue f - finish form\n"
- "v - show variable binding environment s - show current form\n"
+ "v - show variable binding environment o - show current form\n"
"b - set breakpoint by line number i - show current data\n"
"d - delete breakpoint w - backtrace\n"
"l - list breakpoints g - set loglevel\n"),
@@ -169,7 +169,7 @@ val debug(val form, val bindings, val data, val line, val pos, val base)
return nil;
} else if (equal(command, lit("v"))) {
show_bindings(bindings, std_debug);
- } else if (equal(command, lit("s"))) {
+ } else if (equal(command, lit("o"))) {
print_form = t;
} else if (equal(command, lit("i"))) {
print_data = t;