Improved usage message.

This commit is contained in:
Andreas Mohr 2000-12-15 21:28:47 +00:00 committed by Alexandre Julliard
parent 0b6a79c961
commit 1f192c15bb
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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);