From c2a00511c06e8276e766948a80c35ed5b396ca21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= <p@janouch.name>
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
---
 json-rpc-shell.adoc | 4 ++++
 1 file changed, 4 insertions(+)

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

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

