Branch: Tag:

2016-03-05

2016-03-05 11:41:25 by Martin Nilsson <nilsson@fastmail.com>

If you give a directory path, serve from there.

26:    case "--help":    exit(0, doc);    default: +  string home = combine_path(getcwd(), argv[-1]); +  if( Stdio.is_dir(home) ) +  cd(home); +  else    my_port=(int)argv[-1];    }