X-Git-Url: https://jxself.org/git/?p=ssic.git;a=blobdiff_plain;f=bin%2Fssic;h=34f350259b25a90dae25368857d0b445068ffdfe;hp=a88e5654a9a5ba047f8333cb96c3b89a18510bb3;hb=317a3ffb411a2af70c33a8b61817d2da88029379;hpb=ea65dc700eceb7fd46301aee39d3d6563661f205
diff --git a/bin/ssic b/bin/ssic
index a88e565..34f3502 100755
--- a/bin/ssic
+++ b/bin/ssic
@@ -1,21 +1,10 @@
#!/usr/bin/perl
-#
-# ssic - Server Side Includes Compiler
-#
-# Copyright (C) 2013 Patrick "P. J." McDermott
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+
+=head1 NAME
+
+ssic - Server Side Includes Compiler
+
+=cut
use strict;
use warnings;
@@ -23,6 +12,9 @@ use warnings;
use Getopt::Long;
use CGI::SSI;
+my $VERSION;
+$VERSION = '1.0.0';
+
sub main
{
my %opts;
@@ -100,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");
@@ -203,3 +195,76 @@ sub compile
}
main();
+
+__END__
+
+=head1 SYNOPSIS
+
+B
+[B<-o> I