Add version

This commit is contained in:
Fred Boniface 2023-10-02 23:14:14 +01:00
parent e82d08c026
commit 21f01db9df
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,8 @@ use File::Find;
use Cwd; use Cwd;
use Getopt::Long; use Getopt::Long;
my $version = "0.0.1";
my $help; my $help;
my $verbose; my $verbose;
@ -39,6 +41,7 @@ GetOptions(
if ($help) { if ($help) {
print <<EOF; print <<EOF;
\nds - $version - Copyright Frederick Boniface 2023
\n$usage \n$usage
Calculate the size of a directory and its contents.\n Calculate the size of a directory and its contents.\n