1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Updated argc check

This commit is contained in:
niansa 2023-04-17 00:11:43 +02:00
parent 71e01f4d1a
commit e4b3dba517

View file

@ -426,7 +426,7 @@ public:
int main(int argc, char **argv) {
// Check arguments
if (argc < 3) {
if (argc < 4) {
std::cout << "Usage: " << argv[0] << " <language (like \"EN\")> <token> <channel>" << std::endl;
return -1;
}