From 76725fbb68606acf40d6e15d7942996749771407 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 25 Nov 2010 09:55:21 -0800 Subject: [PATCH] regedit: Add a manpage. --- .gitignore | 1 + programs/regedit/Makefile.in | 12 ++++++++++++ programs/regedit/regedit.man.in | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 programs/regedit/regedit.man.in diff --git a/.gitignore b/.gitignore index 834f2562a73..783294df0c6 100644 --- a/.gitignore +++ b/.gitignore @@ -262,6 +262,7 @@ loader/wine64 programs/Makeprog.rules programs/msiexec/msiexec.man programs/notepad/notepad.man +programs/regedit/regedit.man programs/regsvr32/regsvr32.man programs/rpcss/epm.h programs/rpcss/epm_s.c diff --git a/programs/regedit/Makefile.in b/programs/regedit/Makefile.in index a388be32cd7..360575dd8f0 100644 --- a/programs/regedit/Makefile.in +++ b/programs/regedit/Makefile.in @@ -45,6 +45,18 @@ RC_SRCS = \ Zh.rc \ rsrc.rc +MANPAGES = regedit.man + SVG_SRCS = regedit.svg @MAKE_PROG_RULES@ + +all: $(MANPAGES) + +install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext) + $(INSTALL_DATA) regedit.man $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext) + +@WOW64_DISABLE@ install install-lib:: install-man-pages + +uninstall:: + $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext) diff --git a/programs/regedit/regedit.man.in b/programs/regedit/regedit.man.in new file mode 100644 index 00000000000..963adc2d1b0 --- /dev/null +++ b/programs/regedit/regedit.man.in @@ -0,0 +1,32 @@ +.TH REGEDIT 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs" +.SH NAME +regedit \- Wine registry editor +.SH SYNOPSIS +.BR "regedit "\fI[text file]\fR " +.SH DESCRIPTION +.B regedit +is the Wine registry editor, designed to be compatible with its Microsoft Windows counterpart. +If called without any options, it will start the full GUI editor. + +The switches are case\-insensitive and can be prefixed either by '\-' or '/'. +.SH "OPTIONS" +.TP +\fB\-E\fR \fIfile\fR [\fIregpath\fR] +Exports the content of the specified registry key to the specified \fIfile\fR. It exports +the whole registry if no key is specified. +.IP "\-D " regpath +Deletes the specified registry key. +.IP \-S +Run regedit silently (ignored, CLI mode is always silent). This exists for compatability with Windows regedit. +.IP \-V +Run regedit in advanced mode (ignored). This exists for compatability with Windows regedit. +.IP "\-L " location +Specifies the location of the system.dat registry file (ignored). This exists for compatability with Windows regedit. +.IP "\-R " location +Specifies the location of the user.dat registry file (ignored). This exists for compatability with Windows regedit. +.IP \-? +Prints a help message. Any other options are ignored. +.IP \-C \fIfile.reg\fR +Create registry from \fIfile\fR (unimplemented). +.SH "SEE ALSO" +.BR wine(1)