Update man page for library versioning changes

This commit is contained in:
Alex Smith 2018-07-04 09:30:11 +01:00
parent 3a3314b43e
commit a1f523cf55

View File

@ -32,16 +32,16 @@ Print help text
Print the version
.SH USAGE
\fBlibgamemodeauto.so\fR can be pre-loaded into any program to request \fBgamemoded\fR begin or end the mode, like so:
\fBlibgamemodeauto.so.0\fR can be pre-loaded into any program to request \fBgamemoded\fR begin or end the mode, like so:
.RS 4
LD_PRELOAD=/usr/\e$LIB/libgamemodeauto.so \./game
LD_PRELOAD=/usr/\e$LIB/libgamemodeauto.so.0 \./game
.RE
Or by setting the steam launch options for a game:
.RS 4
LD_PRELOAD=$LD_PRELOAD:/usr/\e$LIB/libgamemodeauto.so %command%
LD_PRELOAD=$LD_PRELOAD:/usr/\e$LIB/libgamemodeauto.so.0 %command%
.RE
The \fBgamemode_client.h\fR header can be used by developers to build the requests into a program:
@ -61,7 +61,7 @@ The \fBgamemode_client.h\fR header can be used by developers to build the reques
.fi
.RE
Atlernatively developers can define \fBGAMEMODE_AUTO\fR to mimic the behaviour of \fBlibgamemodeauto.so\fR:
Atlernatively developers can define \fBGAMEMODE_AUTO\fR to mimic the behaviour of \fBlibgamemodeauto.so.0\fR:
.RS 4
.nf
@ -70,7 +70,7 @@ Atlernatively developers can define \fBGAMEMODE_AUTO\fR to mimic the behaviour o
.fi
.RE
Or, distribute \fBlibgamemodeauto.so\fR and either link with \fB\-lgamemodeauto\fR or inject it as above with \fBLD\_PRELOAD\fR.
Or, distribute \fBlibgamemodeauto.so.0\fR and either link with \fB\-lgamemodeauto\fR or inject it as above with \fBLD\_PRELOAD\fR.
.SH CONFIG