|
@@ -1,4 +1,5 @@
|
|
|
#include "../include/commands.hpp"
|
|
|
+#include <cstdio>
|
|
|
|
|
|
CMD commands[]{
|
|
|
{CMD_HELP, "help", "show help"},
|
|
@@ -43,5 +44,7 @@ const char *getCmdStringFromId(COMMANDID id) {
|
|
|
}
|
|
|
|
|
|
void printCmds(void) {
|
|
|
- // TODO
|
|
|
+ for(CMD command : commands) {
|
|
|
+ printf("%-12s - %s\n", command.name, command.desc);
|
|
|
+ }
|
|
|
}
|