shithub: scc

Download patch

ref: 0d3b55519d654762c70fad8b61dbaf52caf09601
parent: a8e2e90fa44baacd3339cdfcb927e3c24ad89190
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Jun 28 17:27:46 EDT 2020

cc1: Fix usage() message

The option -o was removed long time ago and the new -a option
was not added.

--- a/src/cmd/cc/cc1/main.c
+++ b/src/cmd/cc/cc1/main.c
@@ -35,7 +35,7 @@
 usage(void)
 {
 	fputs("usage: cc1 [-Ewd] [-D def[=val]]... [-U def]... "
-	      "[-I dir]... [-o output] [input]\n", stderr);
+	      "[-I dir]... [-a architecture] [input]\n", stderr);
 	exit(1);
 }