Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli/inbox: Clearify "clear" behaviour
Merged did:key:z6MkwcUR...q1kL opened 8 months ago

This patch clearifies (in the help message of the command) how the “clear” subcommand behaves when passing ids.

1 file changed +3 -2 9a7c2253 8953ec4c
modified crates/radicle-cli/src/commands/inbox.rs
@@ -32,7 +32,7 @@ Usage
    rad inbox [<option>...]
    rad inbox list [<option>...]
    rad inbox show <id> [<option>...]
-
    rad inbox clear [<option>...]
+
    rad inbox clear <id...> [<option>...]

    By default, this command lists all items in your inbox.
    If your working directory is a Radicle repository, it only shows item
@@ -42,7 +42,8 @@ Usage
    the `list` command) and displays the information related to that
    notification. This will mark the notification as read.

-
    The `rad inbox clear` command will delete all notifications in the inbox.
+
    The `rad inbox clear` command will delete all notifications by their passed id
+
    or all notifications if no ids were passed.

Options