Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Commit

Permalink
Added the available commands to help
Browse files Browse the repository at this point in the history
  • Loading branch information
PibePlayer committed Oct 11, 2017
1 parent 27134b7 commit 1471fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ void neko_console::runCommand(neko *machine, std::string command) {
command = trim(command);

if (command == "help") {
api::print(machine, "todo: @PibePlayer, please, implement it ;)");
api::print(machine, "Command Description");
api::print(machine, "------- -----------");
api::print(machine, "run runs the loaded cart");
api::print(machine, "help prints this help");
} else if (command == "run") {
machine->carts->run(machine);
} else {
Expand Down
3 changes: 0 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// #include <intrin.h>

#include <SDL2/SDL.h>
#include <iostream>

Expand Down Expand Up @@ -32,7 +30,6 @@ int main(int argc, char *argv[]) {
SDL_Init(SDL_INIT_VIDEO);

// Open config

neko_config config;

// Init neko8
Expand Down

0 comments on commit 1471fe1

Please sign in to comment.