Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Corrections to patch/issue help text
cloudhead committed 2 years ago
commit 9aee9b243656852b0cd3ada28e39899899a0ff0b
parent 6ca7da276839e5217b340dbfff8cd9095d8464c5
2 files changed +8 -12
modified rad-patch.1.adoc
@@ -24,8 +24,7 @@ rad-patch - Manage radicle patches.
*rad patch* _edit_ <patch-id> [<option>...] +
*rad patch* _set_ <patch-id> [<option>...] +
*rad patch* _comment_ <revision-id> [<option>...] +
-
*rad patch* _label_ <patch-id> --label <label> [<option>...] +
-
*rad patch* _unlabel_ <patch-id> --label <label> [<option>...] +
+
*rad patch* _label_ <patch-id> [<option>...] +

== Description

modified radicle-cli/src/commands/issue.rs
@@ -40,7 +40,6 @@ Usage
    rad issue react <issue-id> [--emoji <char>] [--to <comment>] [<option>...]
    rad issue assign <issue-id> [--add <did>] [--delete <did>] [<option>...]
    rad issue label <issue-id> [--add <label>] [--delete <label>] [<option>...]
-
    rad issue unlabel <issue-id> --label <label> [<option>...]
    rad issue comment <issue-id> [--message <message>] [--reply-to <comment-id>] [<option>...]
    rad issue show <issue-id> [<option>...]
    rad issue state <issue-id> [--closed | --open | --solved] [<option>...]
@@ -48,25 +47,23 @@ Usage
Assign options

    -a, --add    <did>     Add an assignee to the issue (may be specified multiple times).
-
                           Note: --add will take precedence over --delete
-

    -d, --delete <did>     Delete an assignee from the issue (may be specified multiple times).
-
                           Note: --add will take precedence over --delete
+

+
    Note: --add takes precedence over --delete

Label options

    -a, --add    <label>   Add a label to the issue (may be specified multiple times).
-
                           Note: --add will take precedence over --delete
-

    -d, --delete <label>   Delete a label from the issue (may be specified multiple times).
-
                           Note: --add will take precedence over --delete
+

+
    Note: --add takes precedence over --delete

Options

-
    --no-announce          Don't announce issue to peers
-
    --header               Show only the issue header, hiding the comments
+
        --no-announce      Don't announce issue to peers
+
        --header           Show only the issue header, hiding the comments
    -q, --quiet            Don't print anything
-
    --help                 Print help
+
        --help             Print help
"#,
};