4b8869092d32 — Dang Hoang Tuan (Tsuki) 2 years ago
Fix another bug in the CLI where the --dir flag uses . instead of ./, resulted in an error when querying a directory
1 files changed, 1 insertions(+), 1 deletions(-)

M main.go
M main.go +1 -1
@@ 9,7 9,7 @@ import (
 type Flags struct {
   cli.Helper
   Port int `cli:"p,port" usage:"Port number (default is 1323)" dft:"1323"`
-  Directory string `cli:"d,dir" usage:"Directory to display (default is .)" dft:"."`
+  Directory string `cli:"d,dir" usage:"Directory to display (default is .)" dft:"./"`
 }
 
 func main() {