From 80661f920b8ea1f2cd1970129cff9ca13747ac66 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj jxPCSnmZ Date: Thu, 2 Dec 2021 16:48:25 +0800 Subject: [PATCH] doc/lightning-datastore.7.md: Fix typos. Changelog-None --- doc/lightning-datastore.7.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lightning-datastore.7.md b/doc/lightning-datastore.7.md index cc81552bf..f94e706aa 100644 --- a/doc/lightning-datastore.7.md +++ b/doc/lightning-datastore.7.md @@ -13,13 +13,13 @@ The **datastore** RPC command allows plugins to store data in the c-lightning database, for later retrieval. *key* is an array of values (though a single value is treated as a -one-element array), to form a heirarchy. Using the first element of +one-element array), to form a hierarchy. Using the first element of the key as the plugin name (e.g. `[ "summary" ]`) is recommended. A key can either have children or a value, never both: parents are created and removed automatically. -*mode* is one of "must-create" (default, fails it it already exists), -"must-replace" (fails it it doesn't already exist), +*mode* is one of "must-create" (default, fails if it already exists), +"must-replace" (fails if it doesn't already exist), "create-or-replace" (never fails), "must-append" (must already exist, append this to what's already there) or "create-or-append" (append if anything is there, otherwise create).