Improved usage message.
This commit is contained in:
parent
0b6a79c961
commit
1f192c15bb
|
@ -3,7 +3,7 @@
|
|||
.SH NAME
|
||||
wine \- run Windows programs on Unix
|
||||
.SH SYNOPSIS
|
||||
.BI "wine " "[wine_options] " "program " "[arguments ... ]"
|
||||
.BI "wine " "[wine_options] " "[--] " "program " "[arguments ... ]"
|
||||
.PP
|
||||
For instructions on passing arguments to Windows programs, please see the
|
||||
.B
|
||||
|
|
|
@ -305,7 +305,8 @@ static void inherit_options( char *buffer )
|
|||
void OPTIONS_Usage(void)
|
||||
{
|
||||
const struct option *opt;
|
||||
MESSAGE( "Usage: %s [options] program_name [arguments]\n\n", argv0 );
|
||||
MESSAGE( "Usage: %s [options] [--] program_name [arguments]\n", argv0 );
|
||||
MESSAGE("The -- has to be used if you specify arguments (of the program)\n\n");
|
||||
MESSAGE( "Options:\n" );
|
||||
for (opt = option_table; opt->longname; opt++) MESSAGE( " %s\n", opt->usage );
|
||||
ExitProcess(0);
|
||||
|
|
Loading…
Reference in New Issue