cobra, dammit
This commit is contained in:
parent
a4e0e29d18
commit
198b6629ba
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
cutupCmd.Flags().IntP("port", "p", 8080, "port to listen on")
|
serveCmd.Flags().IntP("port", "p", 8080, "port to listen on")
|
||||||
rootCmd.AddCommand(serveCmd)
|
rootCmd.AddCommand(serveCmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user