From 23c728e5355bb33e44df91a06d3c68488b85e30b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= <p@janouch.name>
Date: Wed, 14 Oct 2020 00:05:03 +0200
Subject: Add a backend for co-processes

Targets language servers.

In this first stage, we don't need to support bi-directionality,
although it's a requirement for finishing this task.

Updates #4
---
 json-rpc-shell.adoc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'json-rpc-shell.adoc')

diff --git a/json-rpc-shell.adoc b/json-rpc-shell.adoc
index 1806c3e..988a701 100644
--- a/json-rpc-shell.adoc
+++ b/json-rpc-shell.adoc
@@ -10,7 +10,7 @@ json-rpc-shell - a shell for JSON-RPC 2.0
 
 Synopsis
 --------
-*json-rpc-shell* [_OPTION_]... _ENDPOINT_
+*json-rpc-shell* [_OPTION_]... { _ENDPOINT_ | _COMMAND_ [_ARG_]... }
 
 Description
 -----------
@@ -80,6 +80,11 @@ Protocol
 	Call "rpc.discover" upon start-up in order to pull in OpenRPC data for
 	tab completion of method names.  If a path is given, it is read from a file.
 
+*-e*, *--execute*::
+	Rather than an _ENDPOINT_, accept a command line to execute and communicate
+	with using the JSON-RPC 2.0 protocol variation used in the Language Server
+	Protocol.
+
 Program information
 ~~~~~~~~~~~~~~~~~~~
 *-h*, *--help*::
-- 
cgit v1.2.3

