From 8d0caf00c19f7e4eb26c537779953025ade50abb Mon Sep 17 00:00:00 2001 From: Kelly Lyon Date: Wed, 23 Nov 2016 15:49:03 -0800 Subject: [PATCH] Capitalized Snap in flags --- cmd/snaptel/flags.go | 6 +++--- mgmt/rest/flags.go | 8 ++++---- snapteld.go | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/snaptel/flags.go b/cmd/snaptel/flags.go index 2e0390d0b..a5077bd09 100644 --- a/cmd/snaptel/flags.go +++ b/cmd/snaptel/flags.go @@ -32,12 +32,12 @@ var ( } flAPIVer = cli.StringFlag{ Name: "api-version, a", - Usage: "The snap API version", + Usage: "The Snap API version", Value: "v1", } flSecure = cli.BoolFlag{ Name: "insecure", - Usage: "Ignore certificate errors when snap's API is running HTTPS", + Usage: "Ignore certificate errors when Snap's API is running HTTPS", } flRunning = cli.BoolFlag{ Name: "running", @@ -124,7 +124,7 @@ var ( } flTaskMaxFailures = cli.StringFlag{ Name: "max-failures", - Usage: "The number of consecutive failures before snap disables the task", + Usage: "The number of consecutive failures before Snap disables the task", } // metric diff --git a/mgmt/rest/flags.go b/mgmt/rest/flags.go index 1b0a5aeda..de9964bfa 100644 --- a/mgmt/rest/flags.go +++ b/mgmt/rest/flags.go @@ -42,19 +42,19 @@ var ( } flRestHTTPS = cli.BoolFlag{ Name: "rest-https", - Usage: "start snap's API as https", + Usage: "start Snap's API as https", } flRestCert = cli.StringFlag{ Name: "rest-cert", - Usage: "A path to a certificate to use for HTTPS deployment of snap's REST API", + Usage: "A path to a certificate to use for HTTPS deployment of Snap's REST API", } flRestKey = cli.StringFlag{ Name: "rest-key", - Usage: "A path to a key file to use for HTTPS deployment of snap's REST API", + Usage: "A path to a key file to use for HTTPS deployment of Snap's REST API", } flRestAuth = cli.BoolFlag{ Name: "rest-auth", - Usage: "Enables snap's REST API authentication", + Usage: "Enables Snap's REST API authentication", } flPProf = cli.BoolFlag{ Name: "pprof", diff --git a/snapteld.go b/snapteld.go index af023d4ea..059f8ebe1 100644 --- a/snapteld.go +++ b/snapteld.go @@ -52,7 +52,7 @@ import ( var ( flMaxProcs = cli.StringFlag{ Name: "max-procs, c", - Usage: fmt.Sprintf("Set max cores to use for snap Agent (default: %v)", defaultGoMaxProcs), + Usage: fmt.Sprintf("Set max cores to use for Snap Agent (default: %v)", defaultGoMaxProcs), EnvVar: "GOMAXPROCS", } // plugin