Commit 2bfba562 authored by Alexandre Julliard's avatar Alexandre Julliard

winepath: Remove the --version option.

parent 3073a172
...@@ -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;
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment