From 4951ab974c8d582a63d5133be57ac0efe2415f08 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Thu, 6 Aug 2015 01:51:08 -0600 Subject: [PATCH] Qt: Document -l in the manual --- doc/mgba-qt.6 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/mgba-qt.6 b/doc/mgba-qt.6 index 1c79de2c9..1b32d3527 100644 --- a/doc/mgba-qt.6 +++ b/doc/mgba-qt.6 @@ -12,6 +12,7 @@ .Sh SYNOPSIS .Nm mgba-qt .Op Fl b Ar biosfile +.Op Fl l Ar loglevel .Op Fl p Ar patchfile .Op Fl s Ar n .Ar file @@ -25,6 +26,33 @@ Specify a BIOS file to use during boot. If this flag is omitted, .Nm will use a high\(hylevel emulated BIOS. +.It Fl l Ar loglevel +Log messages during emulation. +.Ar loglevel +is a bitmask defining which types of messages to log: +.Bl -inset +.It 0x01 +fatal errors +.It 0x02 +errors +.It 0x04 +warnings +.It 0x08 +informative messages +.It 0x10 +debugging messages +.It 0x20 +stub messages +.It 0x100 +in\(hygame errors +.It 0x200 +software interrupts +.It 0x400 +emulator status messages +.It 0x800 +serial I/O messages +.El +The default is to log warnings, errors, fatal errors, and status messages. .It Fl p Ar patchfile , Fl -patch Ar patchfile Specify a patch file in IPS or UPS format. .It Fl s Ar n , Fl -frameskip Ar n