Add GPL file headers
[armadillo.git] / src / main.go
1 //
2 // Armadillo File Manager
3 // Copyright (c) 2010, Robert Sesek <http://www.bluestatic.org>
4 //
5 // This program is free software: you can redistribute it and/or modify it under
6 // the terms of the GNU General Public License as published by the Free Software
7 // Foundation, either version 3 of the License, or any later version.
8 //
9
10 package main
11
12 import (
13 "flag"
14 "fmt"
15 "./paths"
16 "./server"
17 )
18
19 func main() {
20 flag.StringVar(&paths.JailRoot, "jail", "/", "Restrict file operations to this directory root")
21 flag.Parse()
22 fmt.Printf("Starting Armadillo with root:\n %v\n", paths.JailRoot)
23 server.RunFrontEnd()
24 }