Skip to content

Commit 612b1e5

Browse files
authored
Merge pull request kubernetes-sigs#6808 from oscr/clusterctl-help-punctuation-consistency
🌱 Use consistent punctuation in the clusterctl cmd short descriptions
2 parents a63ba4a + 2c0b80a commit 612b1e5

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

cmd/clusterctl/cmd/alpha.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var alphaCmd = &cobra.Command{
2424
Use: "alpha",
25-
Short: "Commands for features in alpha.",
25+
Short: "Commands for features in alpha",
2626
Long: `These commands correspond to alpha features in clusterctl.`,
2727
}
2828

cmd/clusterctl/cmd/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var buo = &backupOptions{}
3434

3535
var backupCmd = &cobra.Command{
3636
Use: "backup",
37-
Short: "Backup Cluster API objects and all dependencies from a management cluster.",
37+
Short: "Backup Cluster API objects and all dependencies from a management cluster",
3838
Long: LongDesc(`
3939
Backup Cluster API objects and all dependencies from a management cluster.`),
4040

cmd/clusterctl/cmd/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var configCmd = &cobra.Command{
2424
Use: "config",
25-
Short: "Display clusterctl configuration.",
25+
Short: "Display clusterctl configuration",
2626
Long: `Display clusterctl configuration.`,
2727
}
2828

cmd/clusterctl/cmd/config_repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var cro = &configRepositoriesOptions{}
5151
var configRepositoryCmd = &cobra.Command{
5252
Use: "repositories",
5353
Args: cobra.NoArgs,
54-
Short: "Display the list of providers and their repository configurations.",
54+
Short: "Display the list of providers and their repository configurations",
5555
Long: LongDesc(`
5656
Display the list of providers and their repository configurations.
5757

cmd/clusterctl/cmd/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var dd = &deleteOptions{}
3939

4040
var deleteCmd = &cobra.Command{
4141
Use: "delete [providers]",
42-
Short: "Delete one or more providers from the management cluster.",
42+
Short: "Delete one or more providers from the management cluster",
4343
Long: LongDesc(`
4444
Delete one or more providers from the management cluster.`),
4545

cmd/clusterctl/cmd/describe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var describeCmd = &cobra.Command{
2424
Use: "describe",
25-
Short: "Describe workload clusters.",
25+
Short: "Describe workload clusters",
2626
Long: `Describe the status of workload clusters.`,
2727
}
2828

cmd/clusterctl/cmd/describe_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var dc = &describeClusterOptions{}
7070

7171
var describeClusterClusterCmd = &cobra.Command{
7272
Use: "cluster",
73-
Short: "Describe workload clusters.",
73+
Short: "Describe workload clusters",
7474
Long: LongDesc(`
7575
Provide an "at glance" view of a Cluster API cluster designed to help the user in quickly
7676
understanding if there are problems and where.

cmd/clusterctl/cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var generateCmd = &cobra.Command{
2424
Use: "generate",
25-
Short: "Generate yaml using clusterctl yaml processor.",
25+
Short: "Generate yaml using clusterctl yaml processor",
2626
Long: `Generate yaml using clusterctl yaml processor.`,
2727
}
2828

cmd/clusterctl/cmd/generate_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var gc = &generateClusterOptions{}
4747

4848
var generateClusterClusterCmd = &cobra.Command{
4949
Use: "cluster",
50-
Short: "Generate templates for creating workload clusters.",
50+
Short: "Generate templates for creating workload clusters",
5151
Long: LongDesc(`
5252
Generate templates for creating workload clusters.
5353

cmd/clusterctl/cmd/generate_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var gpo = &generateProvidersOptions{}
3939
var generateProviderCmd = &cobra.Command{
4040
Use: "provider",
4141
Args: cobra.NoArgs,
42-
Short: "Generate templates for provider components.",
42+
Short: "Generate templates for provider components",
4343
Long: LongDesc(`
4444
Generate templates for provider components.
4545

0 commit comments

Comments
 (0)