From 3d05d601b3c89ae5c80377988bf287ecb31b23ce Mon Sep 17 00:00:00 2001 From: Jeffrey Jones Date: Sat, 31 Aug 2024 09:24:36 +0000 Subject: [PATCH] Add Windows grpcurl tip Add a tip for windows users using the command prompt to try using double quotes. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b7a18f0..423d40f3 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,11 @@ For development: - Search for `[GRPC]` in the DCS logs - Consult the gRPC Server logs at `Saved Games\DCS.openbeta\Logs\gRPC.log` -Test the running server via [grpcurl](https://github.com/fullstorydev/grpcurl): (Remove the `.exe` when running on Linux) +Test the running server via [grpcurl](https://github.com/fullstorydev/grpcurl): (Remove the `.exe` when running on Linux). + +> [!TIP] +> FOR WINDOWS USERS on the command prompt, you may need to wrap the JSON in double quotes instead of single quotes in the commands below. +> Try this if you get "Too Many Arguments" error ```bash grpcurl.exe -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text\": \"Works!\", \"display_time\": 10, \"clear_view\": false}' 127.0.0.1:50051 dcs.trigger.v0.TriggerService/OutText