Skip to content

Commit 07883f4

Browse files
updating flag usage text
1 parent 39269f6 commit 07883f4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cmd/move/move.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ func MoveCommand() {
2020
helpMessage := styling.HelpBorder.Render(
2121
"Get details about a specific move.\n\n",
2222
styling.StyleBold.Render("USAGE:"),
23-
fmt.Sprintf("\n\t%s %s %s %s", "poke-cli", styling.StyleBold.Render("move"), "<move-name>", "[flag]"),
24-
fmt.Sprintf("\n\t%-20s", styling.StyleItalic.Render("Use a hyphen when typing a name with a space.")),
25-
"\n\n",
26-
styling.StyleBold.Render("FLAGS:"),
27-
fmt.Sprintf("\n\t%-20s %s", "-h, --help", "Prints the help menu."),
23+
fmt.Sprintf("\n\t%s %s %s", "poke-cli", styling.StyleBold.Render("move"), "<move-name>"),
24+
fmt.Sprintf("\n\n%s", styling.StyleItalic.Render("Use a hyphen when typing a name with a space.")),
2825
)
2926
fmt.Println(helpMessage)
3027
}

0 commit comments

Comments
 (0)