mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Make cli command case insensitive
iOS QGC capitalizes the command by default, so it's more convinient
This commit is contained in:
@@ -78,6 +78,8 @@ void doCommand(String str, bool echo = false) {
|
||||
print("> %s\n", str.c_str());
|
||||
}
|
||||
|
||||
command.toLowerCase();
|
||||
|
||||
// execute command
|
||||
if (command == "help" || command == "motd") {
|
||||
print("%s\n", motd);
|
||||
|
Reference in New Issue
Block a user