aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/federation/party.rs6
-rw-r--r--src/federation/party/status.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/federation/party.rs b/src/federation/party.rs
index 8357d22..813b1e6 100644
--- a/src/federation/party.rs
+++ b/src/federation/party.rs
@@ -38,7 +38,7 @@
//! * `status`: everything about the federation at the node but the values (`status`);
//! with `--json`, as one JSON object of a versioned format;
//! * `values [PATH]`: the values that count, all or under `PATH`, with who writes there;
-//! * `get [PATH]`: what counts at `PATH` as one JSON value (`tree`): a place's, or what lies
+//! * `read [PATH]`: what counts at `PATH` as one JSON value (`tree`): a place's, or what lies
//! under it, places and the values within theirs; with `-r`, a string as it is;
//! * `found PARTY=KEY|FILE...`: the first version of a federation, from its parties' keys,
//! node lists (`--nodes`) and rules (`--rule`), to standard output;
@@ -309,7 +309,7 @@ fn command() -> Command {
),
)
.subcommand(
- Command::new("get")
+ Command::new("read")
.about(
"What counts at a path, as JSON: a place's value, or what lies under it, \
places and the values within theirs, as one object; all without a path",
@@ -704,7 +704,7 @@ pub(crate) async fn main() -> Result<()> {
if name == "values" {
return values(&node, sub).await;
}
- if name == "get" {
+ if name == "read" {
let counts = node.counts().await?;
let path = sub
.get_one::<String>("path")
diff --git a/src/federation/party/status.rs b/src/federation/party/status.rs
index 47c32e5..6094a23 100644
--- a/src/federation/party/status.rs
+++ b/src/federation/party/status.rs
@@ -1,5 +1,5 @@
//! `continuum-party status`: everything about the federation at a node but the values
-//! (`values`, `get`). The store; the node; the current version; every party's keys and
+//! (`values`, `read`). The store; the node; the current version; every party's keys and
//! nodes, when the node last heard from each and what each runs; the proposals on the
//! current version, how they stand and what each does; what the node refused of its own;
//! and the party the client works as: its key, its record against the node, what it signs