aboutsummaryrefslogtreecommitdiff
path: root/src/opts.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-21 15:49:56 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-21 15:49:56 -0500
commit23abb4764a4be094608a14a6637f08e8f3067a76 (patch)
treed82720f6a0c08660d64228d71aefa8147063b1e0 /src/opts.c
parent61a771939849fd57b914727f29480b5b8c0dea7f (diff)
downloadunalf-23abb4764a4be094608a14a6637f08e8f3067a76.tar.gz
Add fatal: prefix to fatal error messages.
Diffstat (limited to 'src/opts.c')
-rw-r--r--src/opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opts.c b/src/opts.c
index 3237642..72f5ce0 100644
--- a/src/opts.c
+++ b/src/opts.c
@@ -45,13 +45,13 @@ void parse_opts(int argc, char * const *argv) {
case 'd': opts.outdir = optarg; break;
case 'x': add_exclude(optarg); break;
default:
- fprintf(stderr, "%s: invalid option (try -h or --help)\n", self);
+ fprintf(stderr, "%s: fatal: invalid option (try -h or --help)\n", self);
exit(1);
}
}
if(optind >= argc) {
- fprintf(stderr, "%s: missing alf file argument (try -h or --help)\n", self);
+ fprintf(stderr, "%s: fatal: missing alf file argument (try -h or --help)\n", self);
exit(1);
}