scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 4234753dac0a2b2ff9f180fdfa055c49cd7b4dcf
parent 602403034ea4a289efc9f61e562c3619b32800c2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  7 Oct 2019 20:19:52 +0200

[cc] Simplify usage message

So long usage messages don't make any sense. If you want a man
page you know where to find it.

Diffstat:
Msrc/cmd/cc/posix/cc.c | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/cmd/cc/posix/cc.c b/src/cmd/cc/posix/cc.c @@ -505,15 +505,7 @@ build(struct items *chain, int link) static void usage(void) { - fputs("usage: scc [-D def[=val]]... [-U def]... [-I dir]... " - "[-L dir]... [-l dir]...\n" - " [-dgksw] [-m arch] [-M|-E|-S] [-o outfile] file...\n" - " scc [-D def[=val]]... [-U def]... [-I dir]... " - "[-L dir]... [-l dir]...\n" - " [-dgksw] [-m arch] [-M|-E|-S] -c file...\n" - " scc [-D def[=val]]... [-U def]... [-I dir]... " - "[-L dir]... [-l dir]...\n" - " [-dgksw] [-m arch] -c -o outfile file\n", stderr); + fputs("usage: cc [options] file...\n", stderr); exit(1); }