aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-16 11:38:18 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-16 11:38:18 -0400
commitd8d415a7fe722cad8c433c2c88e1063c4e491b05 (patch)
tree998010b5437aeb7dfa4869e8d213e328cb2982d6
parentcd43f60e6a496456e7e7e6a11b520b95efa420c5 (diff)
downloadb4-d8d415a7fe722cad8c433c2c88e1063c4e491b05.tar.gz
command: add a link to online documentation
Print a link to the online documentation on --help invocation. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/b4/command.py b/b4/command.py
index 269039d..a2da445 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -115,7 +115,8 @@ def cmd():
# noinspection PyTypeChecker
parser = argparse.ArgumentParser(
prog='b4',
- description='A tool to work with public-inbox patches',
+ description='A tool to work with patches in public-inbox archives',
+ epilog='Online docs available at https://b4.docs.kernel.org',
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
)
parser.add_argument('--version', action='version', version=b4.__VERSION__)