Feature: Make -l option explicit

This commit is contained in:
Vicki Pfau 2017-04-11 21:29:24 -07:00
parent 06d6586e6f
commit 7dc9eb4d56
2 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,7 @@ Misc:
- Qt: Make "Mute" able to be bound to a key
- Core: Restore sleep callback
- Qt: Add .gb/.gbc files to the extension list in Info.plist
- Feature: Make -l option explicit
0.5.2: (2016-12-31)
Bugfixes:

View File

@ -38,6 +38,7 @@ static const struct option _options[] = {
{ "gdb", no_argument, 0, 'g' },
#endif
{ "help", no_argument, 0, 'h' },
{ "log-level", required_argument, 0, 'l' },
{ "movie", required_argument, 0, 'v' },
{ "patch", required_argument, 0, 'p' },
{ "version", no_argument, 0, '\0' },
@ -217,6 +218,7 @@ void usage(const char* arg0, const char* extraOptions) {
#ifdef USE_GDB_STUB
puts(" -g, --gdb Start GDB session (default port 2345)");
#endif
puts(" -l, --log-level N Log level mask");
puts(" -v, --movie FILE Play back a movie of recorded input");
puts(" -p, --patch FILE Apply a specified patch file when running");
puts(" -s, --frameskip N Skip every N frames");