mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
winepath: Add a manpage.
This commit is contained in:
parent
76725fbb68
commit
78a1df139e
3 changed files with 45 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -279,6 +279,7 @@ programs/winedbg/debug.yy.c
|
|||
programs/winedbg/winedbg.man
|
||||
programs/winefile/winefile.man
|
||||
programs/winemine/winemine.man
|
||||
programs/winepath/winepath.man
|
||||
programs/winetest/*_test.exe
|
||||
programs/winetest/*_test.rc
|
||||
programs/winetest/build.nfo
|
||||
|
|
|
@ -4,4 +4,16 @@ APPMODE = -mconsole -municode
|
|||
|
||||
C_SRCS = winepath.c
|
||||
|
||||
MANPAGES = winepath.man
|
||||
|
||||
@MAKE_PROG_RULES@
|
||||
|
||||
all: $(MANPAGES)
|
||||
|
||||
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
|
||||
$(INSTALL_DATA) winepath.man $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
|
||||
|
||||
@WOW64_DISABLE@ install install-lib:: install-man-pages
|
||||
|
||||
uninstall::
|
||||
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
|
||||
|
|
32
programs/winepath/winepath.man.in
Normal file
32
programs/winepath/winepath.man.in
Normal file
|
@ -0,0 +1,32 @@
|
|||
.TH WINEPATH 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
|
||||
.SH NAME
|
||||
winepath \- Tool to convert Unix paths to/from Win32 paths
|
||||
.SH SYNOPSIS
|
||||
.BR "winepath "\fIoption\fR " \fI{path}\fR"
|
||||
.SH DESCRIPTION
|
||||
.B winepath
|
||||
is a tool to convert a Unix path to/from a Win32 (short/long) path.
|
||||
compatible with its Microsoft Windows counterpart.
|
||||
|
||||
If more than one option is given then the input paths are output in
|
||||
all formats specified, in the order long, short, Unix, Windows.
|
||||
If no option is given the default output is Unix format.
|
||||
.SH OPTIONS
|
||||
.IP \-u,\ \-\-unix
|
||||
converts a Windows path to a Unix path.
|
||||
.IP \-w,\ \\-\-windows
|
||||
converts a Unix path to a long Windows path.
|
||||
.IP \-l,\ \\-\-long
|
||||
converts the short Windows path of an existing file or directory to the long
|
||||
format.
|
||||
.IP \-s,\ \\-\-short
|
||||
converts the long Windows path of an existing file or directory to the short
|
||||
format.
|
||||
.IP \-0
|
||||
separate output with \\0 character, instead of a newline.
|
||||
.IP \-h,\ \\-\-help
|
||||
shows winepath help message and exit.
|
||||
.IP \-v,\ \\-\-version
|
||||
shows version information and exit.
|
||||
.SH "SEE ALSO"
|
||||
.BR wine (1)
|
Loading…
Reference in a new issue