Floris Renaud : winecfg: Add the command line options to the man page.

Alexandre Julliard julliard at winehq.org
Wed Nov 17 16:27:59 CST 2021


Module: wine
Branch: master
Commit: a6a2580c3355df6bce914cb5635e94e987e646a6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a6a2580c3355df6bce914cb5635e94e987e646a6

Author: Floris Renaud <jkfloris at dds.nl>
Date:   Wed Nov 17 16:54:45 2021 +0100

winecfg: Add the command line options to the man page.

Signed-off-by: Floris Renaud <jkfloris at dds.nl>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winecfg/winecfg.man.in | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/programs/winecfg/winecfg.man.in b/programs/winecfg/winecfg.man.in
index 522d2a0e812..e6fdf376aa8 100644
--- a/programs/winecfg/winecfg.man.in
+++ b/programs/winecfg/winecfg.man.in
@@ -1,14 +1,32 @@
-.TH WINECFG 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.TH WINECFG 1 "November 2021" "@PACKAGE_STRING@" "Wine Programs"
 .SH NAME
 winecfg \- Wine Configuration Editor
 .SH SYNOPSIS
-.BR "winecfg"
+.B winecfg
+.RI [ options ]
 .SH DESCRIPTION
 .B winecfg
 is the Wine configuration editor. It allows you to change several settings, such as DLL load order
 (native versus builtin), enable a virtual desktop, setup disk drives, and change the Wine audio driver,
 among others. Many of these settings can be made on a per application basis, for example, preferring native
 riched20.dll for wordpad.exe, but not for notepad.exe.
+
+If no option is given launch the graphical version of
+.BR winecfg .
+.SH OPTIONS
+.TP
+\fB\-v \fR[\fIversion\fR], \fB/v \fR[\fB\fIversion\fR]
+Set global Windows version to
+.I version
+and exit.
+If
+.I version
+is not specified, display the current global Windows version and exit.
+.TP
+.BR \-? ", " /?
+Display help, valid versions for
+.I version
+and exit.
 .SH BUGS
 Bugs can be reported on the
 .UR https://bugs.winehq.org




More information about the wine-cvs mailing list