mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 09:03:38 +00:00
winepath: Remove the --version option.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3073a17202
commit
2bfba562f9
|
@ -56,7 +56,6 @@ static int option(int shortopt, const WCHAR *longopt)
|
|||
" directory to the short format\n"
|
||||
" -0 separate output with \\0 character, instead of a newline\n"
|
||||
" -h, --help output this help message and exit\n"
|
||||
" -v, --version output version information and exit\n"
|
||||
"\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"
|
||||
|
@ -67,9 +66,6 @@ static int option(int shortopt, const WCHAR *longopt)
|
|||
printf("Usage: %s [OPTION] [PATH]...\n", progname);
|
||||
printf(helpmsg);
|
||||
exit(0);
|
||||
case 'v':
|
||||
printf("%s version " PACKAGE_VERSION "\n", progname);
|
||||
exit(0);
|
||||
case 'l':
|
||||
return LONGFORMAT;
|
||||
case 's':
|
||||
|
@ -101,9 +97,8 @@ static int parse_options(WCHAR *argv[])
|
|||
static const WCHAR unixW[] = { 'u','n','i','x',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 versionW[] = { 'v','e','r','s','i','o','n',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;
|
||||
BOOL done = FALSE;
|
||||
int i, j;
|
||||
|
|
|
@ -27,8 +27,6 @@ format.
|
|||
separate output with \\0 character, instead of a newline.
|
||||
.IP \fB\-h\fR,\fB\ \-\-help
|
||||
shows winepath help message and exit.
|
||||
.IP \fB\-v\fR,\fB\ \-\-version
|
||||
shows version information and exit.
|
||||
.SH BUGS
|
||||
Bugs can be reported on the
|
||||
.UR https://bugs.winehq.org
|
||||
|
|
Loading…
Reference in a new issue