aboutsummaryrefslogtreecommitdiff
path: root/json-rpc-shell.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'json-rpc-shell.adoc')
-rw-r--r--json-rpc-shell.adoc7
1 files changed, 6 insertions, 1 deletions
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*::