From fa3cc2d1788937f99873d161dbd76ce8808519eb Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sun, 15 Sep 2024 17:00:15 +0200 Subject: [PATCH] Don't print empty line at the end of usage --- limbo_console.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/limbo_console.gd b/limbo_console.gd index 266ca43..a471ec0 100644 --- a/limbo_console.gd +++ b/limbo_console.gd @@ -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)