From df41a808c23402001a0a13504669447556be6eaa Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 4 Mar 2017 11:22:00 +0000 Subject: [PATCH] parse probe-only flag as intended --- prog/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prog/main.go b/prog/main.go index 278a305b8..d361e8d70 100644 --- a/prog/main.go +++ b/prog/main.go @@ -254,9 +254,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("app-only", false, "Only run the app") - flag.Bool("probe-only", false, "Only run the probe.") + probeOnly := flag.Bool("probe-only", false, "Only run the app.") flag.Bool("no-probe", false, "Don't run the probe.") + flag.Bool("app-only", false, "Only run the probe.") // Probe flags flag.StringVar(&flags.probe.token, serviceTokenFlag, "", "Token to use to authenticate with cloud.weave.works")