summaryrefslogtreecommitdiffstats
path: root/subcmds/help.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-04-20 23:38:04 -0400
committerMike Frysinger <vapier@google.com>2021-04-26 21:43:43 +0000
commita1cd770d566400364c43acd40b980a7138820797 (patch)
tree2147bd26a440c3129930eb4f29fb551748dc475c /subcmds/help.py
parentcd89ec147ad59f19ebe16a4a30b13606102213c0 (diff)
downloadgit-repo-a1cd770d566400364c43acd40b980a7138820797.tar.gz
help/version: sprinkle bug report URL around
Make it a bit easier for people to locate bug reporting info. Change-Id: If9c8939c84ebd52eb96b353c1797afa25868bb85 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303943 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: Raman Tenneti <rtenneti@google.com>
Diffstat (limited to 'subcmds/help.py')
-rw-r--r--subcmds/help.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/subcmds/help.py b/subcmds/help.py
index 6a767e6f..0989b999 100644
--- a/subcmds/help.py
+++ b/subcmds/help.py
@@ -20,6 +20,7 @@ from subcmds import all_commands
20from color import Coloring 20from color import Coloring
21from command import PagedCommand, MirrorSafeCommand, GitcAvailableCommand, GitcClientCommand 21from command import PagedCommand, MirrorSafeCommand, GitcAvailableCommand, GitcClientCommand
22import gitc_utils 22import gitc_utils
23from wrapper import Wrapper
23 24
24 25
25class Help(PagedCommand, MirrorSafeCommand): 26class Help(PagedCommand, MirrorSafeCommand):
@@ -78,6 +79,7 @@ Displays detailed usage information about a command.
78 print( 79 print(
79 "See 'repo help <command>' for more information on a specific command.\n" 80 "See 'repo help <command>' for more information on a specific command.\n"
80 "See 'repo help --all' for a complete list of recognized commands.") 81 "See 'repo help --all' for a complete list of recognized commands.")
82 print('Bug reports:', Wrapper().BUG_URL)
81 83
82 def _PrintCommandHelp(self, cmd, header_prefix=''): 84 def _PrintCommandHelp(self, cmd, header_prefix=''):
83 class _Out(Coloring): 85 class _Out(Coloring):