From 531c1a120b674a21ad88c58e3d5a423cceb34019 Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Mon, 20 Feb 2017 23:49:27 -0500 Subject: [PATCH] Fixed messages for commandline arguments. --- scheduler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scheduler.go b/scheduler.go index ba13663..b21b567 100644 --- a/scheduler.go +++ b/scheduler.go @@ -27,11 +27,11 @@ var classMapWatts = flag.Bool("classMapWatts", false, "Enable mapping of watts t func init() { flag.StringVar(master, "m", "xavier:5050", "Location of leading Mesos master (shorthand)") flag.StringVar(tasksFile, "w", "", "JSON file containing task definitions (shorthand)") - flag.BoolVar(wattsAsAResource, "waar", false, "Enable Watts as a Resource") + flag.BoolVar(wattsAsAResource, "waar", false, "Enable Watts as a Resource (shorthand)") flag.StringVar(pcplogPrefix, "p", "", "Prefix for pcplog (shorthand)") flag.Float64Var(hiThreshold, "ht", 700.0, "Upperbound for when we should start capping (shorthand)") flag.Float64Var(loThreshold, "lt", 400.0, "Lowerbound for when we should start uncapping (shorthand)") - flag.BoolVar(classMapWatts, "cmw", false, "Enable mapping of watts to power class of node") + flag.BoolVar(classMapWatts, "cmw", false, "Enable mapping of watts to power class of node (shorthand)") } func main() {