Add space after completion when only one match
@@ -177,7 +177,7 @@ public String complete(String rawCommand) {
private String generateResult(String suggestion, Name commandName,
List<String> commandParameters, int suggestedIndex) {
if (suggestedIndex <= 0) {
- return suggestion;
+ return suggestion + " ";
} else {
StringBuilder result = new StringBuilder();
result.append(commandName.toString());
