From 752656fbfa6679d5c2c5fbc6744bb57c958d29fe Mon Sep 17 00:00:00 2001 From: cloudhead Date: Fri, 15 Mar 2024 10:20:28 +0100 Subject: [PATCH] cli: Fix output of `rad auth` The `rad help` command was not the right one. --- radicle-cli/examples/rad-auth.md | 2 +- radicle-cli/src/commands/auth.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle-cli/examples/rad-auth.md b/radicle-cli/examples/rad-auth.md index 192fb447..dd657c14 100644 --- a/radicle-cli/examples/rad-auth.md +++ b/radicle-cli/examples/rad-auth.md @@ -14,7 +14,7 @@ Initializing your radicle 👾 identity To create a Radicle repository, run `rad init` from a Git repository with at least one commit. To clone a repository, run `rad clone `. For example, `rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5` clones the Radicle 'heartwood' repository. -To get a list of all commands, run `rad help`. +To get a list of all commands, run `rad`. ``` You can get the above information at all times using the `self` command: diff --git a/radicle-cli/src/commands/auth.rs b/radicle-cli/src/commands/auth.rs index ffba8b91..e4cc3d9a 100644 --- a/radicle-cli/src/commands/auth.rs +++ b/radicle-cli/src/commands/auth.rs @@ -157,7 +157,7 @@ pub fn init(options: Options) -> anyhow::Result<()> { ); term::info!( "To get a list of all commands, run {}.", - term::format::command("rad help"), + term::format::command("rad"), ); Ok(())