Merge pull request #734 from f1rmb/remotecommand_argument_usage

Display optional argument to RemoteCommand's usage output.
This commit is contained in:
Jonathan Naylor 2022-01-23 19:49:30 +00:00 committed by GitHub
commit fed4400632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const unsigned int BUFFER_LENGTH = 100U;
int main(int argc, char** argv)
{
if (argc < 3) {
::fprintf(stderr, "Usage: RemoteCommand <port> <command>\n");
::fprintf(stderr, "Usage: RemoteCommand <port> <command> [argument]\n");
return 1;
}