ssic: Set __SSIC__ SSI variable.
[ssic.git] / bin / ssic
index 34f350259b25a90dae25368857d0b445068ffdfe..8e5695b0077f5dd8f2738699680f2049f5310a57 100755 (executable)
--- a/bin/ssic
+++ b/bin/ssic
@@ -81,9 +81,9 @@ sub help
 
        usage($fh);
        print("Options:\n");
-       print("  -D <name>=<value>  Set the variable <name> to <value>\n");
-       print("  -I <directory>     Set the document root to <directory>\n");
        print("  -o <output>        Place the output into <output>\n");
+       print("  -I <directory>     Set the document root to <directory>\n");
+       print("  -D <name>=<value>  Set the variable <name> to <value>\n");
        print("  -h, --help         Display this information\n");
        print("  -V, --version      Display compiler version information\n");
 }
@@ -130,6 +130,7 @@ sub init_compiler
        $CGI::SSI::DEBUG = 0;
        $ssi = CGI::SSI->new();
 
+       $ssi->set("__SSIC__" => 1);
        $ssi->set("DOCUMENT_ROOT" => $root);
 
        while (($var_name, $var_value) = each(%{$vars})) {