Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle <[email protected]>
  • Loading branch information
davidbloss and rocktavious authored Aug 14, 2024
1 parent 6440e0e commit 80f6014
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cmd/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ EOF
}

var updateServiceToolCmd = &cobra.Command{
Use: "tool",
Aliases: []string{"tool"},
Use: "tool TOOL-ID",
ArgAliases: []string{"TOOL-ID"},
Short: "Update service tool",
Args: cobra.ExactArgs(1),
Example: `
Expand Down Expand Up @@ -107,11 +107,11 @@ func verifyToolCategory(toolCategory *opslevel.ToolCategory) error {
}

var deleteServiceToolCmd = &cobra.Command{
Use: "tool ID",
Use: "tool TOOL-ID",
ArgAliases: []string{"TOOL-ID"},
Short: "Delete a service tool",
Example: `opslevel delete service tool <tool-ID> `,
Example: `opslevel delete service tool <TOOL-ID>`,
Args: cobra.ExactArgs(1),
ArgAliases: []string{"ID"},
Run: func(cmd *cobra.Command, args []string) {
id := args[0]
if !opslevel.IsID(id) {
Expand Down

0 comments on commit 80f6014

Please sign in to comment.