commit 8dea94d188b359ce62593231012246b7ab340662
Author:     FRIGN <[email protected]>
AuthorDate: Wed May 25 14:24:20 2016 +0200
Commit:     FRIGN <[email protected]>
CommitDate: Wed May 25 14:24:20 2016 +0200

    [cc1] Write usage according to POSIX
    
    In general, the notation for flags is:
       -f arg
    POSIX explicitly allows
       -farg
    so we update the notation accordingly (to the base-notation).
    We also indicate that there can be multiple calls to -D.

diff --git a/cc1/main.c b/cc1/main.c
index 55517f5..86ee922 100644
--- a/cc1/main.c
+++ b/cc1/main.c
@@ -30,8 +30,8 @@ clean(void)
 static void
 usage(void)
 {
-       die("usage: %s [-E] [-Dmacro[=value]] [-Idir] [-w] [-d] [-o output]"
-           "          [input]\n", argv0);
+       die("usage: %s [-E] [-D macro[=value]] ... [-I dir] [-w] [-d]"
+           "[-o output] [input]", argv0);
 }
 
 int

Reply via email to