Author: Paolo Lulli <paolo@lulli.net>
Remove duplicated flag
client/main.go | 4 ++--
diff --git a/client/main.go b/client/main.go index 39763d4ca372f687c540a9d98df40195a901806d..b58fedc2fe5170aa160a883fb4ded14b6eff3c06 100644 --- a/client/main.go +++ b/client/main.go @@ -37,8 +37,8 @@ sourceOption := flag.StringP("source", "s", "", "Source Application") isMetricOption := flag.BoolP("metric", "m", false, "Metric Mode") - isEventOption := flag.BoolP("event", "e", true, "Event Mode") - isPositionOption := flag.BoolP("metric", "p", false, "Position Mode") + //isEventOption := flag.BoolP("event", "e", true, "Event Mode") + isPositionOption := flag.BoolP("position", "p", false, "Position Mode") writeModeOption := flag.BoolP("write", "w", false, "Write Mode")