mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-30 07:45:04 +08:00
Patch by Jerry:
- Fixed line endings - Integ test for file transfer - Fixed crashed problem when log info is larger than 2048 bytes - Fixed compile error caused by std exception (by Feng ye) - Fixed include path on Mac and linux (by Feng ye)
This commit is contained in:
@@ -64,17 +64,17 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, INT nCmdSh
|
||||
}
|
||||
|
||||
if (!server && !client) {
|
||||
MessageBox(NULL,
|
||||
"Either the --server argument or the --client argument must be provided.",
|
||||
"Server or client?", MB_OK);
|
||||
MessageBox(NULL,
|
||||
"Either the --server argument or the --client argument must be provided.",
|
||||
"Server or client?", MB_OK);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (argc <= 2) {
|
||||
MessageBox(NULL,
|
||||
"No additional arguments were provided. Append the --help argument for help.\n\n"
|
||||
"Hint: Create a shortcut and append the \"Target\" field with the arguments.",
|
||||
"No additional arguments", MB_OK);
|
||||
MessageBox(NULL,
|
||||
"No additional arguments were provided. Append the --help argument for help.\n\n"
|
||||
"Hint: Create a shortcut and append the \"Target\" field with the arguments.",
|
||||
"No additional arguments", MB_OK);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user