Skip to content
Snippets Groups Projects
Commit 1f192c15 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

Improved usage message.

parent 0b6a79c9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment