[hackers] [scc] [cc1] fix tool name in usage() || Quentin Rameau

From: <git_AT_suckless.org>
Date: Wed, 25 Jan 2017 16:17:23 +0100 (CET)

commit 1083fc50f098b2ad5b40244b16a6b351c44e2b3f
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Wed Jan 25 16:14:47 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Wed Jan 25 16:15:49 2017 +0100

    [cc1] fix tool name in usage()
    
    Adding an arch suffix was a bad idea because the object is common to all
    arch, and putting usage() into arch.c would have been ugly.

diff --git a/cc1/main.c b/cc1/main.c
index 40e836e..02cd4b9 100644
--- a/cc1/main.c
+++ b/cc1/main.c
_AT_@ -44,7 +44,7 @@ defmacro(char *macro)
 static void
 usage(void)
 {
- die("usage: cc1-" ARCH " [-Ewd] [-D def[=val]]... [-U def]... "
+ die("usage: cc1 [-Ewd] [-D def[=val]]... [-U def]... "
             "[-I dir]... [-o output] [input]");
 }
 
Received on Wed Jan 25 2017 - 16:17:23 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 25 2017 - 16:24:19 CET