Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2bfba562
Commit
2bfba562
authored
Apr 09, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winepath: Remove the --version option.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3073a172
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
winepath.c
programs/winepath/winepath.c
+1
-6
winepath.man.in
programs/winepath/winepath.man.in
+0
-2
No files found.
programs/winepath/winepath.c
View file @
2bfba562
...
@@ -56,7 +56,6 @@ static int option(int shortopt, const WCHAR *longopt)
...
@@ -56,7 +56,6 @@ static int option(int shortopt, const WCHAR *longopt)
" directory to the short format
\n
"
" directory to the short format
\n
"
" -0 separate output with
\\
0 character, instead of a newline
\n
"
" -0 separate output with
\\
0 character, instead of a newline
\n
"
" -h, --help output this help message and exit
\n
"
" -h, --help output this help message and exit
\n
"
" -v, --version output version information and exit
\n
"
"
\n
"
"
\n
"
"If more than one option is given then the input paths are output in
\n
"
"If more than one option is given then the input paths are output in
\n
"
"all formats specified, in the order long, short, Unix, Windows.
\n
"
"all formats specified, in the order long, short, Unix, Windows.
\n
"
...
@@ -67,9 +66,6 @@ static int option(int shortopt, const WCHAR *longopt)
...
@@ -67,9 +66,6 @@ static int option(int shortopt, const WCHAR *longopt)
printf
(
"Usage: %s [OPTION] [PATH]...
\n
"
,
progname
);
printf
(
"Usage: %s [OPTION] [PATH]...
\n
"
,
progname
);
printf
(
helpmsg
);
printf
(
helpmsg
);
exit
(
0
);
exit
(
0
);
case
'v'
:
printf
(
"%s version "
PACKAGE_VERSION
"
\n
"
,
progname
);
exit
(
0
);
case
'l'
:
case
'l'
:
return
LONGFORMAT
;
return
LONGFORMAT
;
case
's'
:
case
's'
:
...
@@ -101,9 +97,8 @@ static int parse_options(WCHAR *argv[])
...
@@ -101,9 +97,8 @@ static int parse_options(WCHAR *argv[])
static
const
WCHAR
unixW
[]
=
{
'u'
,
'n'
,
'i'
,
'x'
,
0
};
static
const
WCHAR
unixW
[]
=
{
'u'
,
'n'
,
'i'
,
'x'
,
0
};
static
const
WCHAR
windowsW
[]
=
{
'w'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
0
};
static
const
WCHAR
windowsW
[]
=
{
'w'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
0
};
static
const
WCHAR
helpW
[]
=
{
'h'
,
'e'
,
'l'
,
'p'
,
0
};
static
const
WCHAR
helpW
[]
=
{
'h'
,
'e'
,
'l'
,
'p'
,
0
};
static
const
WCHAR
versionW
[]
=
{
'v'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
nullW
[]
=
{
0
};
static
const
WCHAR
nullW
[]
=
{
0
};
static
const
WCHAR
*
longopts
[]
=
{
longW
,
shortW
,
unixW
,
windowsW
,
helpW
,
versionW
,
nullW
};
static
const
WCHAR
*
longopts
[]
=
{
longW
,
shortW
,
unixW
,
windowsW
,
helpW
,
nullW
};
int
outputformats
=
0
;
int
outputformats
=
0
;
BOOL
done
=
FALSE
;
BOOL
done
=
FALSE
;
int
i
,
j
;
int
i
,
j
;
...
...
programs/winepath/winepath.man.in
View file @
2bfba562
...
@@ -27,8 +27,6 @@ format.
...
@@ -27,8 +27,6 @@ format.
separate output with \\0 character, instead of a newline.
separate output with \\0 character, instead of a newline.
.IP \fB\-h\fR,\fB\ \-\-help
.IP \fB\-h\fR,\fB\ \-\-help
shows winepath help message and exit.
shows winepath help message and exit.
.IP \fB\-v\fR,\fB\ \-\-version
shows version information and exit.
.SH BUGS
.SH BUGS
Bugs can be reported on the
Bugs can be reported on the
.UR https://bugs.winehq.org
.UR https://bugs.winehq.org
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment