Skip to content

Commit

Permalink
Forgot to reflect changes here.
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Dec 22, 2019
1 parent cf77c1d commit 5cf2ff7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class DefaultHelpCommand(private val showParameterTypes: Boolean) : Cog {
val args = command.arguments

for (arg in args) {
if (arg.required) {
if (!arg.optional) {
builder.append("<")
} else {
builder.append("[")
Expand All @@ -102,7 +102,7 @@ class DefaultHelpCommand(private val showParameterTypes: Boolean) : Cog {
.append(arg.type.simpleName)
}

if (arg.required) {
if (!arg.optional) {
builder.append(">")
} else {
builder.append("]")
Expand Down

0 comments on commit 5cf2ff7

Please sign in to comment.