From b54b4eb4f615ae3dba5b7cc67e33e2df014548a9 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 9 Sep 2017 15:50:27 -0230 Subject: [PATCH] Fixed documentation on some debugger 'save' commands; they don't take any parameter, and choose the name (and locations) themselves. This needs to be fixed, and will happen when I get to issue #172 (add save file dialogs). --- docs/debugger.html | 6 +++--- src/debugger/DebuggerParser.cxx | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/debugger.html b/docs/debugger.html index 0315e0bb5..a0531e6cb 100644 --- a/docs/debugger.html +++ b/docs/debugger.html @@ -677,9 +677,9 @@ listfunctions - List user-defined functions runtopc - Run until PC is set to value xx s - Set Stack Pointer to value xx save - Save breaks, watches, traps to file xx - saveconfig - Save Distella config file - savedis - Save Distella disassembly - saverom - Save (possibly patched) ROM + saveconfig - Save Distella config file (with default name) + savedis - Save Distella disassembly (with default name) + saverom - Save (possibly patched) ROM (with default name) saveses - Save console session to file xx savesnap - Save current TIA image to PNG file savestate - Save emulator state xx (valid args 0-9) diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index b80c9dc1f..4d98562bf 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -2202,8 +2202,8 @@ DebuggerParser::Command DebuggerParser::commands[kNumCommands] = { { "saveconfig", - "Save Distella config file", - "Example: saveconfig file.cfg", + "Save Distella config file (with default name)", + "Example: saveconfig", false, false, { kARG_END_ARGS }, @@ -2212,8 +2212,8 @@ DebuggerParser::Command DebuggerParser::commands[kNumCommands] = { { "savedis", - "Save Distella disassembly", - "Example: savedis file.asm", + "Save Distella disassembly (with default name)", + "Example: savedis", false, false, { kARG_END_ARGS }, @@ -2222,8 +2222,8 @@ DebuggerParser::Command DebuggerParser::commands[kNumCommands] = { { "saverom", - "Save (possibly patched) ROM", - "Example: savedrom file.bin", + "Save (possibly patched) ROM (with default name)", + "Example: saverom", false, false, { kARG_END_ARGS },