Skip to content

Commit

Permalink
Don't print empty line at the end of usage
Browse files Browse the repository at this point in the history
  • Loading branch information
limbonaut committed Sep 15, 2024
1 parent aa8efe1 commit fa3cc2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions limbo_console.gd
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ func usage(p_command_name: String) -> Error:
def_value = "\"" + def_value + "\""
def_spec = " = %s" % [def_value]
arg_lines += " %s: %s%s\n" % [arg_name, type_string(arg_type) if arg_type != TYPE_NIL else "Variant", def_spec]
arg_lines = arg_lines.trim_suffix('\n')

print_line(usage_line)

Expand Down

0 comments on commit fa3cc2d

Please sign in to comment.