all repos — mgba @ 93f83521541e851a5d5d1ac81edda2e72d4d2454

mGBA Game Boy Advance Emulator

Qt, SDL: Fix documentation for XDG basedir changes.
Anthony J. Bentley anthony@anjbe.name
Sun, 11 Sep 2016 12:47:36 +0900
commit

93f83521541e851a5d5d1ac81edda2e72d4d2454

parent

88fc68aaf79ad817b13a5a9a81c68691219aa82d

2 files changed, 30 insertions(+), 10 deletions(-)

jump to
M doc/mgba-qt.6doc/mgba-qt.6

@@ -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 .\" License, v. 2.0. If a copy of the MPL was not distributed with this

@@ -103,13 +103,23 @@ .Ao Cm Shift Ac Ns \(hy Ns Cm F1 Ns \(en Ns Cm F9

.It Frame advance .Ao Cm Ctrl Ac Ns \(hy Ns Cm n .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 -.Bl -tag -width ~/.config/mgba/config.ini -compact -.It Pa ~/.config/mgba/config.ini +.Bl -tag -width Ds -compact +.It Pa $XDG_CONFIG_HOME/mgba/config.ini Default .Xr mgba 6 configuration file. -.It Pa ~/.config/mgba/qt.ini +.It Pa $XDG_CONFIG_HOME/mgba/qt.ini Default .Nm mgba-qt configuration file.

@@ -121,7 +131,7 @@ .Pa config.ini

and .Pa qt.ini from the current directory instead of -.Pa ~/.config/mgba . +.Pa $XDG_CONFIG_HOME/mgba . .El .Sh AUTHORS .An Jeffrey Pfau Aq Mt jeffrey@endrift.com
M doc/mgba.6doc/mgba.6

@@ -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 .\" License, v. 2.0. If a copy of the MPL was not distributed with this

@@ -230,11 +230,21 @@ If

.Ar count is not specified, examine 16 bytes, 8 halfwords, or 4 words. .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 -.Bl -tag -width ~/.config/mgba/config.ini -compact -.It Pa ~/.config/mgba/config.ini +.Bl -tag -width Ds -compact +.It Pa $XDG_CONFIG_HOME/mgba/config.ini Default -.Nm +.Xr mgba 6 configuration file. .It Pa portable.ini If this file exists in the current directory,

@@ -242,7 +252,7 @@ .Nm

will read .Pa config.ini from the current directory instead of -.Pa ~/.config/mgba . +.Pa $XDG_CONFIG_HOME/mgba . .El .Sh AUTHORS .An Jeffrey Pfau Aq Mt jeffrey@endrift.com