Skip to content

Commit

Permalink
bootstrap: Exit when invalid args are passed
Browse files Browse the repository at this point in the history
  • Loading branch information
caseif committed Jun 15, 2024
1 parent f86bace commit 512087c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/exe/bootstrap/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ static argus::Logger g_logger("Bootstrap");

int main(int argc, char **argv) {
if (argc != 2) {
printf("Invalid arguments\nUsage: %s <namespace>", argc >= 1 ? argv[0] : "argus_bootstrap");
printf("Invalid arguments\nUsage: %s <namespace>\n", argc >= 1 ? argv[0] : "argus_bootstrap");
return 1;
}

argus::load_client_config(argv[1]);
Expand Down

0 comments on commit 512087c

Please sign in to comment.