added help description
1eb3b73 parent: b4bea96 modified
app/src/main.cpp +5 -1 | @@ -88,7 +88,11 @@ auto handleCommand(const std::string& command, const std::vector<std::string>& a | ||
| 88 | 88 | std::cout << "fluffy v0.1.1" << std::endl; |
| 89 | 89 | } |
| 90 | 90 | else if (command == "--help") { |
| 91 | - std::cout << "help" << std::endl; | |
| 91 | + std::cout << "fluffy commands:" << std::endl; | |
| 92 | + std::cout << " play <game_name> Runs a game" << std::endl; | |
| 93 | + std::cout << " add <game_name> <game_path> Add a game library" << std::endl; | |
| 94 | + std::cout << " show Show all games added to library" << std::endl; | |
| 95 | + std::cout << " rm <game_name> Remove game from a library" << std::endl; | |
| 92 | 96 | } |
| 93 | 97 | else { |
| 94 | 98 | std::cout << "fluffy: '" << command << "' is not a fluffy command. See 'fluffy --help'" << std::endl; |
| @@ -88,7 +88,11 @@ auto handleCommand(const std::string& command, const std::vector<std::string>& a | |||
| 88 | std::cout << "fluffy v0.1.1" << std::endl; | 88 | std::cout << "fluffy v0.1.1" << std::endl; |
| 89 | } | 89 | } |
| 90 | else if (command == "--help") { | 90 | else if (command == "--help") { |
| 91 | - std::cout << "help" << std::endl; | 91 | + std::cout << "fluffy commands:" << std::endl; |
| 92 | + std::cout << " play <game_name> Runs a game" << std::endl; | ||
| 93 | + std::cout << " add <game_name> <game_path> Add a game library" << std::endl; | ||
| 94 | + std::cout << " show Show all games added to library" << std::endl; | ||
| 95 | + std::cout << " rm <game_name> Remove game from a library" << std::endl; | ||
| 92 | } | 96 | } |
| 93 | else { | 97 | else { |
| 94 | std::cout << "fluffy: '" << command << "' is not a fluffy command. See 'fluffy --help'" << std::endl; | 98 | std::cout << "fluffy: '" << command << "' is not a fluffy command. See 'fluffy --help'" << std::endl; |