Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Fix `rad track` help output
Alexis Sellier committed 3 years ago
commit 3d40a606f78f6b13e7617ad8eaea6d32801d73a3
parent c1face7cd82eefebb309d723e609f16538ba3992
1 file changed +4 -4
modified radicle-cli/src/commands/track.rs
@@ -16,11 +16,11 @@ pub const HELP: Help = Help {
    usage: r#"
Usage

-
    rad track <did> [--[no-]fetch] [--alias <name>] [<option>...]
+
    rad track <nid> [--[no-]fetch] [--alias <name>] [<option>...]
    rad track <rid> [--[no-]fetch] [--scope <scope>] [<option>...]

-
    The `track` command takes either a DID or an RID. Based on the argument, it will
-
    either update the tracking policy of a node (DID), or a repository (RID).
+
    The `track` command takes either an NID or an RID. Based on the argument, it will
+
    either update the tracking policy of a node (NID), or a repository (RID).

    When tracking a repository, a scope can be specified: this can be either `all` or
    `trusted`. When using `all`, all remote nodes will be tracked for that repository.
@@ -107,7 +107,7 @@ impl Args for Options {

        Ok((
            Options {
-
                op: op.ok_or_else(|| anyhow!("either a DID or an RID must be specified"))?,
+
                op: op.ok_or_else(|| anyhow!("either a NID or an RID must be specified"))?,
                fetch,
                verbose,
            },