diff options
author | James Brown | 2002-03-09 05:39:25 +0000 |
---|---|---|
committer | James Brown | 2002-03-09 05:39:25 +0000 |
commit | f167277a2343a3462e30eb5a849d2bde4dc5dab5 (patch) | |
tree | 8b658275845e320d1780ac36e1bb50cf57750c4f /debug.cpp | |
parent | 6d04ae34bced746bfe2446f93ca0fef5f7c2250d (diff) | |
download | scummvm-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.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |