aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-13 04:23:28 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-13 04:23:28 +0200
commitc2a00511c06e8276e766948a80c35ed5b396ca21 (patch)
tree1d0df8cbde1f9067d07ee1b6586deda71f20e187
parent2b18ebf3143f9be072260f2c69c9b39b8658f0fb (diff)
downloadjson-rpc-shell-c2a00511c06e8276e766948a80c35ed5b396ca21.tar.gz
json-rpc-shell-c2a00511c06e8276e766948a80c35ed5b396ca21.tar.xz
json-rpc-shell-c2a00511c06e8276e766948a80c35ed5b396ca21.zip
Document OpenRPC tab completion support
Now that it's functional in both frontends, we can flaunt it. I still don't want to make it the default. Closes #1
-rw-r--r--README.adoc1
-rw-r--r--json-rpc-shell.adoc4
2 files changed, 5 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
index 649a66b..8cceb1e 100644
--- a/README.adoc
+++ b/README.adoc
@@ -18,6 +18,7 @@ you get the following niceties:
results in your favourite editor or redirect them to a file
- ability to edit the input line in your favourite editor as well with Alt+E
- WebSockets (RFC 6455) can also be used as a transport rather than HTTP
+ - support for method name tab completion using OpenRPC discovery
Documentation
-------------
diff --git a/json-rpc-shell.adoc b/json-rpc-shell.adoc
index e8525ad..595dd68 100644
--- a/json-rpc-shell.adoc
+++ b/json-rpc-shell.adoc
@@ -76,6 +76,10 @@ Protocol
*-o* _ORIGIN_, *--origin*=_ORIGIN_::
Set the HTTP Origin header to _ORIGIN_. Some servers may need this.
+*-O*, *--openrpc*::
+ Call "rpc.discover" upon start-up in order to pull in OpenRPC data for
+ tab completion of method names.
+
Program information
~~~~~~~~~~~~~~~~~~~
*-h*, *--help*::