X-Git-Url: https://jxself.org/git/?p=ssic.git;a=blobdiff_plain;f=bin%2Fssic;h=f6622a0b81df2a8d97e6697ee77a2de2849d02cf;hp=ea0a838cc90dfb1aac2dff889e7e5e541c2d7f4e;hb=36b7d2c263bac54ecd765c095aeb2084846374e7;hpb=fe1558c06fc2f0e6646e9f7d9b1eac45ab3d6b19 diff --git a/bin/ssic b/bin/ssic index ea0a838..f6622a0 100755 --- a/bin/ssic +++ b/bin/ssic @@ -12,6 +12,9 @@ use warnings; use Getopt::Long; use CGI::SSI; +my $VERSION; +$VERSION = '1.0.0'; + sub main { my %opts; @@ -78,9 +81,9 @@ sub help usage($fh); print("Options:\n"); - print(" -D = Set the variable to \n"); - print(" -I Set the document root to \n"); print(" -o Place the output into \n"); + print(" -I Set the document root to \n"); + print(" -D = Set the variable to \n"); print(" -h, --help Display this information\n"); print(" -V, --version Display compiler version information\n"); } @@ -89,7 +92,7 @@ sub version { my ($fh) = @_; - print("ssic 0.1.0\n"); + printf("ssic %s\n", $VERSION); print("Copyright (C) 2013 Patrick \"P. J.\" McDermott\n"); print("License GPLv3+: GNU GPL version 3 or later " . ".\n");