From e7b3192a00fd7c18271f690c573d464940140fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 7 Mar 2024 16:12:29 +0100 Subject: [PATCH] Add 'return' statement to subroutines. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Ortega Froysa --- pacundo.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pacundo.pl b/pacundo.pl index 55c84fd..2169d80 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -33,6 +33,7 @@ my $PROG_NAME = "pacundo"; sub print_version { print("$PROG_NAME v$VERSION\n"); + return; } sub print_help { @@ -50,6 +51,7 @@ OPTIONS: -d Dry run, i.e. don't actually do anything -h Show this help information -v Print program version\n"); + return; } getopts("irt:dvh", \my %opts);