mirror of
https://github.com/facundoolano/jorge.git
synced 2024-12-26 21:58:51 +01:00
fix host flag shorthand
This commit is contained in:
parent
12897a011a
commit
8921006641
1 changed files with 1 additions and 1 deletions
|
@ -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."`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue