From dedda1e4199aa0ae95273cd597fd4fc24cefc6b6 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 1 Jun 2026 22:00:09 +0200 Subject: [PATCH] Warn for missing .rc file. Signed-off-by: Thomas Hochstein --- ChangeLog | 3 +++ bin/yapfaq.pl | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index c35c517..0e8870c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +yapfaq 1.1.1 (unreleased) + * Warn for missing .rc file. + yapfaq 1.1.0 (2026-02-13) * --test: Set Supersedes and don't modify Message-ID if -o is set. * --test: Force -o if -n is not set. diff --git a/bin/yapfaq.pl b/bin/yapfaq.pl index dbc027b..80dcbde 100755 --- a/bin/yapfaq.pl +++ b/bin/yapfaq.pl @@ -79,6 +79,8 @@ if (defined($RCFILE)) { } } close($RCFILE); +} else { + warn "W: No .rc file found.\n"; } # these env-vars have higher priority (order is important)