Add version
This commit is contained in:
parent
e82d08c026
commit
21f01db9df
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user