[hackers] [scc] [cc1] Write usage according to POSIX || FRIGN
commit 8dea94d188b359ce62593231012246b7ab340662
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Wed May 25 14:24:20 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
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
_AT_@ -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
Received on Wed May 25 2016 - 14:25:45 CEST
This archive was generated by hypermail 2.3.0
: Wed May 25 2016 - 14:36:14 CEST