From 7377a142451ecea51eaa51b6047b5537f8926ef4 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 3 Oct 2022 17:17:19 +0200 Subject: [PATCH] Improve RGBASM's "input files" error messages slightly --- src/asm/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asm/main.c b/src/asm/main.c index abf4c6eb..a1d7b989 100644 --- a/src/asm/main.c +++ b/src/asm/main.c @@ -359,10 +359,10 @@ int main(int argc, char *argv[]) targetFileName[targetFileNameLen - 1] = '\0'; // Overwrite the last space if (argc == musl_optind) { - fputs("FATAL: No input files\n", stderr); + fputs("FATAL: Please specify an input file (pass `-` to read from standard input)\n", stderr); print_usage(); } else if (argc != musl_optind + 1) { - fputs("FATAL: More than one input file given\n", stderr); + fputs("FATAL: More than one input file specified\n", stderr); print_usage(); }