fix host flag shorthand

This commit is contained in:
facundoolano 2024-03-02 10:38:53 -03:00
parent 12897a011a
commit 8921006641

View file

@ -18,7 +18,7 @@ import (
type Serve struct { type Serve struct {
ProjectDir string `arg:"" name:"path" optional:"" default:"." help:"Path to the website project to serve."` ProjectDir string `arg:"" name:"path" optional:"" default:"." help:"Path to the website project to serve."`
Host string `short:"h" default:"localhost" help:"Host to run the server on."` Host string `short:"H" default:"localhost" help:"Host to run the server on."`
Port int `short:"p" default:"4001" help:"Port to run the server on."` Port int `short:"p" default:"4001" help:"Port to run the server on."`
NoReload bool `help:"Disable live reloading."` NoReload bool `help:"Disable live reloading."`
} }