aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation/party.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/federation/party.rs')
-rw-r--r--src/federation/party.rs6
1 files changed, 3 insertions, 3 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")