Clean up flag descriptions (#1778)
This commit is contained in:
@@ -33,7 +33,7 @@ func configFlag() cli.Flag {
|
||||
Name: "config",
|
||||
Value: fmt.Sprintf("%s/.fleet/config", env.String("HOME", "~/")),
|
||||
EnvVar: "CONFIG",
|
||||
Usage: "The path to the Fleet config file",
|
||||
Usage: "Path to the Fleet config file",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ func contextFlag() cli.Flag {
|
||||
Name: "context",
|
||||
Value: "default",
|
||||
EnvVar: "CONTEXT",
|
||||
Usage: "The Fleet config context",
|
||||
Usage: "Name of Fleet config context to use",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,21 +193,21 @@ func configSetCommand() cli.Command {
|
||||
EnvVar: "ADDRESS",
|
||||
Value: "",
|
||||
Destination: &flAddress,
|
||||
Usage: "The address of the Fleet API",
|
||||
Usage: "Address of the Fleet server",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "email",
|
||||
EnvVar: "EMAIL",
|
||||
Value: "",
|
||||
Destination: &flEmail,
|
||||
Usage: "The email to use when connecting to the Fleet API",
|
||||
Usage: "Email to use when connecting to the Fleet server",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "token",
|
||||
EnvVar: "TOKEN",
|
||||
Value: "",
|
||||
Destination: &flToken,
|
||||
Usage: "The Fleet API token",
|
||||
Usage: "Fleet API token",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "ignore-tls",
|
||||
|
||||
@@ -15,7 +15,7 @@ func init() {
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "fleetctl"
|
||||
app.Usage = "The CLI for operating Kolide Fleet"
|
||||
app.Usage = "CLI for operating Kolide Fleet"
|
||||
app.Version = version.Version().Version
|
||||
cli.VersionPrinter = func(c *cli.Context) {
|
||||
version.PrintFull()
|
||||
|
||||
@@ -31,14 +31,14 @@ Interactively prompts for email and password if not specified in the flags or en
|
||||
EnvVar: "EMAIL",
|
||||
Value: "",
|
||||
Destination: &flEmail,
|
||||
Usage: "The email to use to login",
|
||||
Usage: "Email to use to log in",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "password",
|
||||
EnvVar: "PASSWORD",
|
||||
Value: "",
|
||||
Destination: &flPassword,
|
||||
Usage: "The password to use to login (recommended to use interactive entry)",
|
||||
Usage: "Password to use to log in (recommended to use interactive entry)",
|
||||
},
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
|
||||
@@ -26,21 +26,21 @@ func setupCommand() cli.Command {
|
||||
EnvVar: "EMAIL",
|
||||
Value: "",
|
||||
Destination: &flEmail,
|
||||
Usage: "The email of the admin user to create",
|
||||
Usage: "Email of the admin user to create",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "password",
|
||||
EnvVar: "PASSWORD",
|
||||
Value: "",
|
||||
Destination: &flPassword,
|
||||
Usage: "The password for the admin user",
|
||||
Usage: "Password for the admin user",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "org-name",
|
||||
EnvVar: "ORG_NAME",
|
||||
Value: "",
|
||||
Destination: &flOrgName,
|
||||
Usage: "The name of the organization",
|
||||
Usage: "Name of the organization",
|
||||
},
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user