[Rev 01] RFR: 314: Add help command to git-pr

Robin Westberg rwestberg at openjdk.java.net
Thu Mar 19 14:17:09 UTC 2020

On Thu, 19 Mar 2020 13:39:58 GMT, Erik Helin <ehelin at openjdk.org> wrote:

>> Hi all,
>> please review this patch that enhances the default `help` command for `git pr`
>> by quite a bit. `git pr` will now be default list the usage and flags for all
>> available sub-commands. A user can now also run `git pr help <sub-command>`,
>> e.g. `git pr help set`:
>> $ git pr help set
>> Usage: git pr set [<ID>]
>> Flags:
>>   -u, --username NAME   Username on host
>>   -r, --remote NAME     Name of remote, defaults to 'origin'
>>       --assignees LIST  Comma separated list of assignees
>>       --title MESSAGE   The title of the pull request
>>       --open            Set the pull request's state to open
>>       --closed          Set the pull request's state to closed
>>       --body            Set the body of the pull request
>>       --no-draft        Mark the pull request as not draft
>>       --verbose         Turn on verbose output
>>       --debug           Turn on debugging output
>>       --version         Print the version of this tool
>> Testing:
>> - Manual testing of `git pr` on Linux x64
>> Thanks,
>> Erik
> Erik Helin has updated the pull request incrementally with one additional commit since the last revision:
>   Better formatting

Looks good!


Marked as reviewed by rwestberg (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/521

More information about the skara-dev mailing list