Qt, SDL: Fix documentation for XDG basedir changes.

This commit is contained in:
Anthony J. Bentley 2016-09-11 12:47:36 +09:00 committed by Emmanuel Gil Peyrot
parent 88fc68aaf7
commit 93f8352154
2 changed files with 31 additions and 11 deletions

View File

@ -1,4 +1,4 @@
.\" Copyright (c) 2015 Anthony J. Bentley <anthony@anjbe.name> .\" Copyright (c) 2015-2016 Anthony J. Bentley <anthony@anjbe.name>
.\" .\"
.\" This Source Code Form is subject to the terms of the Mozilla Public .\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this .\" License, v. 2.0. If a copy of the MPL was not distributed with this
@ -103,13 +103,23 @@ The default controls are as follows:
.It Frame advance .It Frame advance
.Ao Cm Ctrl Ac Ns \(hy Ns Cm n .Ao Cm Ctrl Ac Ns \(hy Ns Cm n
.El .El
.Sh ENVIRONMENT
.Bl -tag -width Ds -compact
.It Ev XDG_CONFIG_HOME
The location where
.Nm
will look for the configuration directory.
If not set,
.Pa ~/.config
is used.
.El
.Sh FILES .Sh FILES
.Bl -tag -width ~/.config/mgba/config.ini -compact .Bl -tag -width Ds -compact
.It Pa ~/.config/mgba/config.ini .It Pa $XDG_CONFIG_HOME/mgba/config.ini
Default Default
.Xr mgba 6 .Xr mgba 6
configuration file. configuration file.
.It Pa ~/.config/mgba/qt.ini .It Pa $XDG_CONFIG_HOME/mgba/qt.ini
Default Default
.Nm mgba-qt .Nm mgba-qt
configuration file. configuration file.
@ -121,7 +131,7 @@ will read
and and
.Pa qt.ini .Pa qt.ini
from the current directory instead of from the current directory instead of
.Pa ~/.config/mgba . .Pa $XDG_CONFIG_HOME/mgba .
.El .El
.Sh AUTHORS .Sh AUTHORS
.An Jeffrey Pfau Aq Mt jeffrey@endrift.com .An Jeffrey Pfau Aq Mt jeffrey@endrift.com

View File

@ -1,4 +1,4 @@
.\" Copyright (c) 2015 Anthony J. Bentley <anthony@anjbe.name> .\" Copyright (c) 2015-2016 Anthony J. Bentley <anthony@anjbe.name>
.\" .\"
.\" This Source Code Form is subject to the terms of the Mozilla Public .\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this .\" License, v. 2.0. If a copy of the MPL was not distributed with this
@ -230,11 +230,21 @@ If
.Ar count .Ar count
is not specified, examine 16 bytes, 8 halfwords, or 4 words. is not specified, examine 16 bytes, 8 halfwords, or 4 words.
.El .El
.Sh FILES .Sh ENVIRONMENT
.Bl -tag -width ~/.config/mgba/config.ini -compact .Bl -tag -width Ds -compact
.It Pa ~/.config/mgba/config.ini .It Ev XDG_CONFIG_HOME
Default The location where
.Nm .Nm
will look for the configuration directory.
If not set,
.Pa ~/.config
is used.
.El
.Sh FILES
.Bl -tag -width Ds -compact
.It Pa $XDG_CONFIG_HOME/mgba/config.ini
Default
.Xr mgba 6
configuration file. configuration file.
.It Pa portable.ini .It Pa portable.ini
If this file exists in the current directory, If this file exists in the current directory,
@ -242,7 +252,7 @@ If this file exists in the current directory,
will read will read
.Pa config.ini .Pa config.ini
from the current directory instead of from the current directory instead of
.Pa ~/.config/mgba . .Pa $XDG_CONFIG_HOME/mgba .
.El .El
.Sh AUTHORS .Sh AUTHORS
.An Jeffrey Pfau Aq Mt jeffrey@endrift.com .An Jeffrey Pfau Aq Mt jeffrey@endrift.com