--- a/src/commands.cc Fri Jan 17 21:42:02 2014 +0200 +++ b/src/commands.cc Fri Jan 17 22:55:13 2014 +0200 @@ -157,6 +157,10 @@ text += GetTypeName (comm->returnvalue); text += ' '; text += comm->name; + + if (comm->maxargs != 0) + text += ' '; + text += '('; bool hasoptionals = false; @@ -178,7 +182,7 @@ if (i >= comm->numargs) { - text += '='; + text += " = "; bool is_string = comm->args[i].type == TYPE_STRING;