From 3681c0e6dfa9d384481529813be35a867251d473 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Tue, 5 Dec 2023 16:12:51 +0000 Subject: [PATCH] cli: rename remove to delete Rename the --remove options to --delete for assign and label, to be more consistent with review, and let this be the standard. Clean up any typos around labels/dids and issues/patches. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- radicle-cli/examples/rad-issue.md | 2 +- radicle-cli/src/commands/issue.rs | 38 +++++++++++----------- radicle-cli/src/commands/patch.rs | 40 ++++++++++++------------ radicle-cli/src/commands/patch/assign.rs | 4 +-- radicle-cli/src/commands/patch/label.rs | 4 +-- 5 files changed, 44 insertions(+), 44 deletions(-) diff --git a/radicle-cli/examples/rad-issue.md b/radicle-cli/examples/rad-issue.md index 15ba8ca4..dfc6cdb8 100644 --- a/radicle-cli/examples/rad-issue.md +++ b/radicle-cli/examples/rad-issue.md @@ -69,7 +69,7 @@ $ rad issue list --assigned Note: this can always be undone with the `unassign` subcommand. ``` -$ rad issue assign d185ee1 --remove did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi +$ rad issue assign d185ee1 --delete did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi ``` Great, now we have communicated to the world about our car's defect. diff --git a/radicle-cli/src/commands/issue.rs b/radicle-cli/src/commands/issue.rs index 65eb306b..9c350b3e 100644 --- a/radicle-cli/src/commands/issue.rs +++ b/radicle-cli/src/commands/issue.rs @@ -38,8 +38,8 @@ Usage rad issue list [--assigned ] [--all | --closed | --open | --solved] [