diff options
Diffstat (limited to 'lib/App/Mangemanche.pm')
-rw-r--r-- | lib/App/Mangemanche.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/App/Mangemanche.pm b/lib/App/Mangemanche.pm index 2bcbc44..4d43796 100644 --- a/lib/App/Mangemanche.pm +++ b/lib/App/Mangemanche.pm @@ -13,6 +13,15 @@ our $VERSION = '0.4.90'; my $DEFAULT_URL = 'http://localhost:8080'; +my $LICENSE = <<'EOT' +Copyright (C) 2020 Sergey Poznyakoff + +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +EOT +; + sub new { my $class = shift; my $config_file; @@ -38,6 +47,7 @@ sub new { }, 'version' => sub { print "$0 version $VERSION\n"; + print $LICENSE,"\n"; exit(EX_OK); }, 'config|c=s' => \$config_file, |