add --status-port flag to dbg
This commit is contained in:
parent
032fccb292
commit
c775696f44
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ func main() {
|
||||||
}
|
}
|
||||||
rootCmd.AddCommand(confCmd)
|
rootCmd.AddCommand(confCmd)
|
||||||
|
|
||||||
|
rootCmd.PersistentFlags().IntVar(&nginx.StatusPort, "status-port", 10246, `Port to use for the lua HTTP endpoint configuration.`)
|
||||||
|
|
||||||
if err := rootCmd.Execute(); err != nil {
|
if err := rootCmd.Execute(); err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in a new issue