From c2a00511c06e8276e766948a80c35ed5b396ca21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Tue, 13 Oct 2020 04:23:28 +0200 Subject: 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 --- README.adoc | 1 + json-rpc-shell.adoc | 4 ++++ 2 files changed, 5 insertions(+) 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*:: -- cgit v1.2.3