fix typos in usage info

This commit is contained in:
Matthias Radestock
2017-05-16 09:15:42 +01:00
parent 783070163d
commit bf02eb0cc7

View File

@@ -263,9 +263,9 @@ func main() {
// They are also here so they are included in usage, and the probe uses them to decide if to
// publish to localhost.
noApp := flag.Bool("no-app", false, "Don't run the app.")
probeOnly := flag.Bool("probe-only", false, "Only run the app.")
probeOnly := flag.Bool("probe-only", false, "Only run the probe.")
flag.Bool("no-probe", false, "Don't run the probe.")
flag.Bool("app-only", false, "Only run the probe.")
flag.Bool("app-only", false, "Only run the app.")
// Probe flags
flag.StringVar(&flags.probe.token, serviceTokenFlag, "", "Token to use to authenticate with cloud.weave.works")