Add 'return' statement to subroutines.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-03-07 16:12:29 +01:00
parent 891427ead0
commit e7b3192a00

View File

@ -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);