aboutsummaryrefslogtreecommitdiff
path: root/debug.cpp
diff options
context:
space:
mode:
authorJames Brown2002-03-09 05:39:25 +0000
committerJames Brown2002-03-09 05:39:25 +0000
commitf167277a2343a3462e30eb5a849d2bde4dc5dab5 (patch)
tree8b658275845e320d1780ac36e1bb50cf57750c4f /debug.cpp
parent6d04ae34bced746bfe2446f93ca0fef5f7c2250d (diff)
downloadscummvm-rg350-f167277a2343a3462e30eb5a849d2bde4dc5dab5.tar.gz
scummvm-rg350-f167277a2343a3462e30eb5a849d2bde4dc5dab5.tar.bz2
scummvm-rg350-f167277a2343a3462e30eb5a849d2bde4dc5dab5.zip
Add some help for one of my debugger commands.
svn-id: r3702
Diffstat (limited to 'debug.cpp')
-rw-r--r--debug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.cpp b/debug.cpp
index 7a0b720e0f..4f6ea160cc 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -73,6 +73,7 @@ bool ScummDebugger::do_command() {
"(r)oom roomnum -> load room\n"
"(s)cripts -> show running scripts\n"
"(b)oxes -> list and draw boxen\n"
+ "(v)ariable -> set or show a variable value\n"
"(w)atch [varnum] -> set a variable watch. 0 means all variables.\n"
"(e)xit -> exit game\n"
);
@@ -136,7 +137,7 @@ bool ScummDebugger::do_command() {
return true;
case CMD_VAR:
if (!_parameters[0]) {
- printf("Enter a variable\n");
+ printf("v 123 will show the value of 123, v 123 456 will set the value of 123 to 456.\n");
} else {
char *tok = strtok(_parameters, " ");
int var = atoi(tok);