update flag description
This commit is contained in:
parent
71bff2f012
commit
69e0914a1f
|
@ -14,7 +14,7 @@ type Config struct {
|
||||||
|
|
||||||
// ReadConfig reads the arguments from the command line
|
// ReadConfig reads the arguments from the command line
|
||||||
func ReadConfig() Config {
|
func ReadConfig() Config {
|
||||||
targetURL := flag.String("url", "https://jsonplaceholder.typicode.com", "Required. Set the base url you want to capture")
|
targetURL := flag.String("url", "https://jsonplaceholder.typicode.com", "Required. Set the url you want to proxy")
|
||||||
proxyPort := flag.String("port", "9000", "Set the proxy port")
|
proxyPort := flag.String("port", "9000", "Set the proxy port")
|
||||||
dashboardPort := flag.String("dashboard", "9001", "Set the dashboard port")
|
dashboardPort := flag.String("dashboard", "9001", "Set the dashboard port")
|
||||||
maxCaptures := flag.Int("captures", 16, "Set how many captures to show in the dashboard")
|
maxCaptures := flag.Int("captures", 16, "Set how many captures to show in the dashboard")
|
||||||
|
|
Loading…
Reference in a new issue