all repos — mgba @ e9864cbc99cb909c290f6acadf4ed39b6009f9d0

mGBA Game Boy Advance Emulator

Add some missing usage documentation
Jeffrey Pfau jeffrey@endrift.com
Mon, 06 Oct 2014 23:36:52 -0700
commit

e9864cbc99cb909c290f6acadf4ed39b6009f9d0

parent

bac0d35034f8e31aec09cfd12676c7b34b0cd38f

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M src/platform/commandline.csrc/platform/commandline.c

@@ -201,13 +201,15 @@

void usage(const char* arg0, const char* extraOptions) { printf("usage: %s [option ...] file\n", arg0); puts("\nGeneric options:"); - puts(" -b, --bios FILE GBA BIOS file to use"); + puts(" -b, --bios FILE GBA BIOS file to use"); #ifdef USE_CLI_DEBUGGER - puts(" -d, --debug Use command-line debugger"); + puts(" -d, --debug Use command-line debugger"); #endif #ifdef USE_GDB_STUB - puts(" -g, --gdb Start GDB session (default port 2345)"); + puts(" -g, --gdb Start GDB session (default port 2345)"); #endif + puts(" -p, --patch Apply a specified patch file when running"); + puts(" -s, --frameskip N Skip every N frames"); if (extraOptions) { puts(extraOptions); }