Add 'return' statement to subroutines.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
parent
891427ead0
commit
e7b3192a00
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user