From 1f192c15bb7960edc82ad1a77b791b79052f8715 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Fri, 15 Dec 2000 21:28:47 +0000 Subject: [PATCH] Improved usage message. --- documentation/wine.man.in | 2 +- misc/options.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/wine.man.in b/documentation/wine.man.in index 13f5c58c1b1..3a803a3374c 100644 --- a/documentation/wine.man.in +++ b/documentation/wine.man.in @@ -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 diff --git a/misc/options.c b/misc/options.c index 64add27c937..cae462fda77 100644 --- a/misc/options.c +++ b/misc/options.c @@ -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);