diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-21 14:50:23 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-21 14:50:23 -0400 |
commit | aafc61a2009c1b5c45dcdd6326e9d4010ed7cba4 (patch) | |
tree | 02c4615191264ff20d419f7c6eb8470b4a550470 /man | |
parent | 10dcc9f8fe8bce21d3f3cf465070736da207fd75 (diff) | |
download | b4-aafc61a2009c1b5c45dcdd6326e9d4010ed7cba4.tar.gz |
Move --show-keys into its own kr subcommand
There will be more keyring operations supported in the future, probably,
but for now just move the --show-keys subcommand from "mbox" to "kr".
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/b4.5 | 33 | ||||
-rw-r--r-- | man/b4.5.rst | 21 |
2 files changed, 52 insertions, 2 deletions
@@ -53,9 +53,11 @@ precursor to Lore and Data in the Star Trek universe. .IP \(bu 2 \fIb4 diff\fP: Show range\-diff style diffs between patch versions .IP \(bu 2 -\fIb4 ty\fP: (EXPERIMENTAL) Create templated replies for processed patches and pull requests +\fIb4 ty\fP: Create templated replies for processed patches and pull requests .IP \(bu 2 \fIb4 attest\fP: (EXPERIMENTAL) Add cryptographic attestation to patches +.IP \(bu 2 +\fIb4 kr\fP (EXPERIMENTAL) Operate on patatt\-compatible keyrings .UNINDENT .SH OPTIONS .INDENT 0.0 @@ -325,6 +327,35 @@ Compare two mbx files prepared with "b4 am" .UNINDENT .sp \fIExample\fP: b4 diff \fI\%20200526205322.23465\-1\-mic@digikod.net\fP +.SS b4 kr +.sp +usage: b4 kr [\-h] [\-p USEPROJECT] [\-m LOCALMBOX] [\-C] [\-\-show\-keys] [msgid] +.INDENT 0.0 +.TP +.B positional arguments: +msgid Message ID to process, or pipe a raw message +.TP +.B optional arguments: +.INDENT 7.0 +.TP +.B \-h\fP,\fB \-\-help +show this help message and exit +.TP +.BI \-p \ USEPROJECT\fR,\fB \ \-\-use\-project \ USEPROJECT +Use a specific project instead of guessing (linux\-mm, linux\-hardening, etc) +.TP +.BI \-m \ LOCALMBOX\fR,\fB \ \-\-use\-local\-mbox \ LOCALMBOX +Instead of grabbing a thread from lore, process this mbox file (or \- for stdin) +.TP +.B \-C\fP,\fB \-\-no\-cache +Do not use local cache +.TP +.B \-\-show\-keys +Show all developer keys from the thread +.UNINDENT +.UNINDENT +.sp +\fIExample\fP: b4 kr \-\-show\-keys \fI\%20210521184811.617875\-1\-konstantin@linuxfoundation.org\fP .SH CONFIGURATION .sp B4 configuration is handled via git\-config(1), so you can store it in diff --git a/man/b4.5.rst b/man/b4.5.rst index 2b803e0..ecbd3e8 100644 --- a/man/b4.5.rst +++ b/man/b4.5.rst @@ -31,8 +31,9 @@ SUBCOMMANDS * *b4 am*: Create an mbox file that is ready to git-am * *b4 pr*: Work with pull requests * *b4 diff*: Show range-diff style diffs between patch versions -* *b4 ty*: (EXPERIMENTAL) Create templated replies for processed patches and pull requests +* *b4 ty*: Create templated replies for processed patches and pull requests * *b4 attest*: (EXPERIMENTAL) Add cryptographic attestation to patches +* *b4 kr* (EXPERIMENTAL) Operate on patatt-compatible keyrings OPTIONS ------- @@ -205,6 +206,24 @@ optional arguments: *Example*: b4 diff 20200526205322.23465-1-mic@digikod.net +b4 kr +~~~~~ +usage: b4 kr [-h] [-p USEPROJECT] [-m LOCALMBOX] [-C] [--show-keys] [msgid] + +positional arguments: + msgid Message ID to process, or pipe a raw message + +optional arguments: + -h, --help show this help message and exit + -p USEPROJECT, --use-project USEPROJECT + Use a specific project instead of guessing (linux-mm, linux-hardening, etc) + -m LOCALMBOX, --use-local-mbox LOCALMBOX + Instead of grabbing a thread from lore, process this mbox file (or - for stdin) + -C, --no-cache Do not use local cache + --show-keys Show all developer keys from the thread + +*Example*: b4 kr --show-keys 20210521184811.617875-1-konstantin@linuxfoundation.org + CONFIGURATION ------------- B4 configuration is handled via git-config(1), so you can store it in |