juk3n/fluffypublic Fork
⑂ 1eb3b73
Commits
⬇ Clone ▾
git clone https://git.rickub.com/juk3n/fluffy.git
git clone ssh://git@rickub.com/juk3n/fluffy.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

added help description

juk3n committed 2024-07-05T14:56:50+02:00 Browse files
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
8888 std::cout << "fluffy v0.1.1" << std::endl;
8989 }
9090 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;
9296 }
9397 else {
9498 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;