aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index dae693080..4f8e66130 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -100,7 +100,8 @@ public class ServerManager {
for (String commandKey : baseProtocol.getSupportedCommands()) {
SupportedCommand supportedCommand = new SupportedCommand();
supportedCommand.setKey(commandKey);
- supportedCommand.setName(commandKey);
+ String commandName = "command" + commandKey.substring(0, 1).toUpperCase() + commandKey.substring(1);
+ supportedCommand.setName(commandName);
result.add(supportedCommand);
}
}