pike.git / lib / modules / Tools.pmod / Standalone.pmod / httpserver.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/httpserver.pike:6:   server will present the contents of the current directory and it's children to   the world without any authentication.       --version print version information and exit    --help display this help and exit   ";      constant version = sprintf(#"Pike httpserver %d.%d.%d   ",(int)__REAL_VERSION__,__REAL_MINOR__,__REAL_BUILD__);    + constant description = "Minimal HTTP-server."; +    int main(int argc, array(string) argv)   {    int my_port = 8080;    if(argc>1)    switch (argv[-1])    {    case "--version":    exit(0, version);    case "--help":    exit(0, doc);