Skip to content

Commit 5bdd1b5

Browse files
Merge pull request #278 from cdave-git/cdave
Capitalized first letter short/long command description
2 parents e8fd543 + c80657e commit 5bdd1b5

File tree

12 files changed

+26
-26
lines changed

12 files changed

+26
-26
lines changed

pgo/cmd/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var PVCName string
3333

3434
var backupCmd = &cobra.Command{
3535
Use: "backup",
36-
Short: "perform a Backup",
36+
Short: "Perform a Backup",
3737
Long: `BACKUP performs a Backup, for example:
3838
pgo backup mycluster`,
3939
Run: func(cmd *cobra.Command, args []string) {

pgo/cmd/delete.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
var deleteCmd = &cobra.Command{
2727
Use: "delete",
2828
Short: "Delete a user, policy, cluster, backup, or upgrade",
29-
Long: `delete allows you to delete a user, policy, cluster, backup, or upgrade
29+
Long: `Delete allows you to delete a user, policy, cluster, backup, or upgrade
3030
For example:
3131
3232
pgo delete user jeffmc --selector=name=mycluster
@@ -92,8 +92,8 @@ func init() {
9292

9393
var deleteIngestCmd = &cobra.Command{
9494
Use: "ingest",
95-
Short: "delete an ingest",
96-
Long: `delete an ingest. For example:
95+
Short: "Delete an ingest",
96+
Long: `Delete an ingest. For example:
9797
pgo delete ingest myingest`,
9898
Run: func(cmd *cobra.Command, args []string) {
9999
if len(args) == 0 {
@@ -110,8 +110,8 @@ var deleteIngestCmd = &cobra.Command{
110110

111111
var deleteUpgradeCmd = &cobra.Command{
112112
Use: "upgrade",
113-
Short: "delete an upgrade",
114-
Long: `delete an upgrade. For example:
113+
Short: "Delete an upgrade",
114+
Long: `Delete an upgrade. For example:
115115
pgo delete upgrade mydatabase`,
116116
Run: func(cmd *cobra.Command, args []string) {
117117
if len(args) == 0 {
@@ -128,8 +128,8 @@ var deleteUpgradeCmd = &cobra.Command{
128128

129129
var deleteBackupCmd = &cobra.Command{
130130
Use: "backup",
131-
Short: "delete a backup",
132-
Long: `delete a backup. For example:
131+
Short: "Delete a backup",
132+
Long: `Delete a backup. For example:
133133
pgo delete backup mydatabase`,
134134
Run: func(cmd *cobra.Command, args []string) {
135135
if len(args) == 0 {
@@ -147,8 +147,8 @@ var deleteBackupCmd = &cobra.Command{
147147
// deleteUserCmd ...
148148
var deleteUserCmd = &cobra.Command{
149149
Use: "user",
150-
Short: "delete a user",
151-
Long: `delete a user. For example:
150+
Short: "Delete a user",
151+
Long: `Delete a user. For example:
152152
pgo delete user someuser --selector=name=mycluster`,
153153
Run: func(cmd *cobra.Command, args []string) {
154154

@@ -170,8 +170,8 @@ var deleteUserCmd = &cobra.Command{
170170
// deleteClusterCmd ...
171171
var deleteClusterCmd = &cobra.Command{
172172
Use: "cluster",
173-
Short: "delete a cluster",
174-
Long: `delete a crunchy cluster. For example:
173+
Short: "Delete a cluster",
174+
Long: `Delete a crunchy cluster. For example:
175175
pgo delete cluster mycluster`,
176176
Run: func(cmd *cobra.Command, args []string) {
177177
if len(args) == 0 && Selector == "" {
@@ -189,8 +189,8 @@ var deleteClusterCmd = &cobra.Command{
189189

190190
var deletePolicyCmd = &cobra.Command{
191191
Use: "policy",
192-
Short: "delete a policy",
193-
Long: `delete a policy. For example:
192+
Short: "Delete a policy",
193+
Long: `Delete a policy. For example:
194194
pgo delete policy mypolicy`,
195195
Run: func(cmd *cobra.Command, args []string) {
196196
if len(args) == 0 {

pgo/cmd/failover.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import (
3030

3131
var failoverCmd = &cobra.Command{
3232
Use: "failover",
33-
Short: "perform a failover",
34-
Long: `performs a failover, for example:
33+
Short: "Perform a failover",
34+
Long: `Performs a failover, for example:
3535
pgo failover mycluster`,
3636
Run: func(cmd *cobra.Command, args []string) {
3737
log.Debug("failover called")

pgo/cmd/label.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var DeleteLabel bool
3232

3333
var labelCmd = &cobra.Command{
3434
Use: "label",
35-
Short: "label a set of clusters",
35+
Short: "Label a set of clusters",
3636
Long: `LABEL allows you to add or remove a label on a set of clusters
3737
For example:
3838

pgo/cmd/load.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var LoadConfig string
3333

3434
var loadCmd = &cobra.Command{
3535
Use: "load",
36-
Short: "perform a data load",
36+
Short: "Perform a data load",
3737
Long: `LOAD performs a load, for example:
3838
pgo load --load-config=./load.json --selector=project=xray`,
3939
Run: func(cmd *cobra.Command, args []string) {

pgo/cmd/policy.go

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

3030
var applyCmd = &cobra.Command{
3131
Use: "apply",
32-
Short: "apply a Policy",
32+
Short: "Apply a Policy",
3333
Long: `APPLY allows you to apply a Policy to a set of clusters
3434
For example:
3535

pgo/cmd/scale.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var ReplicaCount int
3030
var scaleCmd = &cobra.Command{
3131
Use: "scale",
3232
Short: "Scale a Cluster",
33-
Long: `scale allows you to adjust a Cluster's replica configuration
33+
Long: `Scale allows you to adjust a Cluster's replica configuration
3434
For example:
3535
3636
pgo scale mycluster --replica-count=1

pgo/cmd/show.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ var PVCRoot string
3131

3232
var ShowCmd = &cobra.Command{
3333
Use: "show",
34-
Short: "show a description of a cluster",
35-
Long: `show allows you to show the details of a policy, backup, pvc, or cluster.
34+
Short: "Show a description of a cluster",
35+
Long: `Show allows you to show the details of a policy, backup, pvc, or cluster.
3636
For example:
3737
3838
pgo show policy policy1

pgo/cmd/test.go

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

2828
var testCmd = &cobra.Command{
2929
Use: "test",
30-
Short: "test a Cluster",
30+
Short: "Test a Cluster",
3131
Long: `TEST allows you to test a new Cluster
3232
For example:
3333

pgo/cmd/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var UpgradeType string
3838

3939
var upgradeCmd = &cobra.Command{
4040
Use: "upgrade",
41-
Short: "perform an upgrade",
41+
Short: "Perform an upgrade",
4242
Long: `UPGRADE performs an upgrade, for example:
4343
pgo upgrade mycluster`,
4444
Run: func(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)