Skip to content

Commit c4acd9a

Browse files
committed
review comments
1 parent c645154 commit c4acd9a

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

cmd/addplugins.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ func executeAddPlugins(cmd *cobra.Command, cfgFiles []string) error {
108108
func newAddPluginsCmd() *cobra.Command {
109109
addPluginsCmd := &cobra.Command{
110110
Use: "add-plugins [flags] [...plugin-files]",
111-
Short: "Adds plugins to objects in a decK file",
112-
Long: `Adds plugins to objects in a decK file.
111+
Short: "Add plugins to objects in a decK file",
112+
Long: `Add plugins to objects in a decK file.
113113
114114
The plugins are added to all objects that match the selector expressions. If no
115115
selectors are given, they will be added to the top-level 'plugins' array.

cmd/addtags.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ func executeAddTags(cmd *cobra.Command, tagsToAdd []string) error {
6666
func newAddTagsCmd() *cobra.Command {
6767
addTagsCmd := &cobra.Command{
6868
Use: "add-tags [flags] tag [...tag]",
69-
Short: "Adds tags to objects in a decK file",
70-
Long: `Adds tags to objects in a decK file.
69+
Short: "Add tags to objects in a decK file",
70+
Long: `Add tags to objects in a decK file.
7171
7272
The tags are added to all objects that match the selector expressions. If no
7373
selectors are given, all Kong entities are tagged.`,

cmd/listtags.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ func executeListTags(cmd *cobra.Command, _ []string) error {
6767
func newListTagsCmd() *cobra.Command {
6868
ListTagsCmd := &cobra.Command{
6969
Use: "list-tags [flags]",
70-
Short: "Lists current tags to objects in a decK file",
71-
Long: `Lists current tags to objects in a decK file.
70+
Short: "List current tags from objects in a decK file",
71+
Long: `List current tags from objects in a decK file.
7272
7373
The tags will be collected from all objects that match the selector expressions. If no
7474
selectors are given, all Kong entities will be scanned.`,

cmd/merge.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ func executeMerge(cmd *cobra.Command, args []string) error {
4444
func newMergeCmd() *cobra.Command {
4545
mergeCmd := &cobra.Command{
4646
Use: "merge [flags] filename [...filename]",
47-
Short: "Merges multiple decK files into one",
48-
Long: `Merges multiple decK files into one.
47+
Short: "Merge multiple decK files into one",
48+
Long: `Merge multiple decK files into one.
4949
5050
The files can be either json or yaml format. Will merge all top-level arrays by simply
5151
concatenating them. Any other keys will be copied. The files will be processed in the order

cmd/patch.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ func executePatch(cmd *cobra.Command, args []string) error {
109109
func newPatchCmd() *cobra.Command {
110110
patchCmd := &cobra.Command{
111111
Use: "patch [flags] [...patch-files]",
112-
Short: "Applies patches on top of a decK file",
113-
Long: `Applies patches on top of a decK file.
112+
Short: "Apply patches on top of a decK file",
113+
Long: `Apply patches on top of a decK file.
114114
115115
The input file will be read, the patches will be applied, and if successful, written
116116
to the output file. The patches can be specified by a '--selector' and one or more

cmd/removetags.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ func executeRemoveTags(cmd *cobra.Command, tagsToRemove []string) error {
7777
func newRemoveTagsCmd() *cobra.Command {
7878
removeTagsCmd := &cobra.Command{
7979
Use: "remove-tags [flags] tag [...tag]",
80-
Short: "Removes tags from objects in a decK file",
81-
Long: `Removes tags from objects in a decK file.
80+
Short: "Remove tags from objects in a decK file",
81+
Long: `Remove tags from objects in a decK file.
8282
8383
The listed tags are removed from all objects that match the selector expressions.
8484
If no selectors are given, all Kong entities will be selected.`,

0 commit comments

Comments
 (0)