add text help for x y mode
This commit is contained in:
2023-12-02 22:34:00 +01:00
committed by Sander Speetjens
parent a1add6b61b
commit e42cbc31ba

View File

@@ -212,6 +212,7 @@ static bool tcp_cmd_parser(struct tcp_pcb* pcb, int argc, char** argv) {
LOG_WARN(TAG, "Bad usage of text");
tcp_cmd_write(pcb, "Usage: text \"<text>\"\n");
tcp_cmd_write(pcb, "Usage: text <word>\n");
tcp_cmd_write(pcb, "Usage: text \"<text>\" <x> <y>\n");
return false;
}
if (strcmp(argv[0], "bgcolor") == 0) {