Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Capitalized Snap in flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kjlyon committed Nov 23, 2016
1 parent 45f1ba0 commit 8d0caf0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions cmd/snaptel/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions mgmt/rest/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion snapteld.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d0caf0

Please sign in to comment.