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

Commit 8d0caf0

Browse files
committed
Capitalized Snap in flags
1 parent 45f1ba0 commit 8d0caf0

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

cmd/snaptel/flags.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ var (
3232
}
3333
flAPIVer = cli.StringFlag{
3434
Name: "api-version, a",
35-
Usage: "The snap API version",
35+
Usage: "The Snap API version",
3636
Value: "v1",
3737
}
3838
flSecure = cli.BoolFlag{
3939
Name: "insecure",
40-
Usage: "Ignore certificate errors when snap's API is running HTTPS",
40+
Usage: "Ignore certificate errors when Snap's API is running HTTPS",
4141
}
4242
flRunning = cli.BoolFlag{
4343
Name: "running",
@@ -124,7 +124,7 @@ var (
124124
}
125125
flTaskMaxFailures = cli.StringFlag{
126126
Name: "max-failures",
127-
Usage: "The number of consecutive failures before snap disables the task",
127+
Usage: "The number of consecutive failures before Snap disables the task",
128128
}
129129

130130
// metric

mgmt/rest/flags.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ var (
4242
}
4343
flRestHTTPS = cli.BoolFlag{
4444
Name: "rest-https",
45-
Usage: "start snap's API as https",
45+
Usage: "start Snap's API as https",
4646
}
4747
flRestCert = cli.StringFlag{
4848
Name: "rest-cert",
49-
Usage: "A path to a certificate to use for HTTPS deployment of snap's REST API",
49+
Usage: "A path to a certificate to use for HTTPS deployment of Snap's REST API",
5050
}
5151
flRestKey = cli.StringFlag{
5252
Name: "rest-key",
53-
Usage: "A path to a key file to use for HTTPS deployment of snap's REST API",
53+
Usage: "A path to a key file to use for HTTPS deployment of Snap's REST API",
5454
}
5555
flRestAuth = cli.BoolFlag{
5656
Name: "rest-auth",
57-
Usage: "Enables snap's REST API authentication",
57+
Usage: "Enables Snap's REST API authentication",
5858
}
5959
flPProf = cli.BoolFlag{
6060
Name: "pprof",

snapteld.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import (
5252
var (
5353
flMaxProcs = cli.StringFlag{
5454
Name: "max-procs, c",
55-
Usage: fmt.Sprintf("Set max cores to use for snap Agent (default: %v)", defaultGoMaxProcs),
55+
Usage: fmt.Sprintf("Set max cores to use for Snap Agent (default: %v)", defaultGoMaxProcs),
5656
EnvVar: "GOMAXPROCS",
5757
}
5858
// plugin

0 commit comments

Comments
 (0)