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:
parent
71e01f4d1a
commit
e4b3dba517
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue