harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit b43ff202d210e6f6bfba87d2c63b038b6b6c91d7
parent bdc8b2fcfdcdaa42d89acd2ea77ca858c7929853
Author: Sebastian <sebastian@sebsite.pw>
Date:   Tue, 11 Oct 2022 22:03:57 -0400

Fix usage string

At least one input file is required, even if that file is "-" for stdin.

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Msrc/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -19,7 +19,7 @@ static void usage(const char *argv_0) { fprintf(stderr, - "Usage: %s [-a arch] [-D ident:type=value] [-o output] [-T] [-t typedefs] [-N namespace] [input.ha...]\n", + "Usage: %s [-a arch] [-D ident:type=value] [-o output] [-T] [-t typedefs] [-N namespace] input.ha...\n", argv_0); }