diff options
author | Mike Frysinger <vapier@google.com> | 2021-04-20 23:38:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-04-26 21:43:43 +0000 |
commit | a1cd770d566400364c43acd40b980a7138820797 (patch) | |
tree | 2147bd26a440c3129930eb4f29fb551748dc475c /subcmds/version.py | |
parent | cd89ec147ad59f19ebe16a4a30b13606102213c0 (diff) | |
download | git-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/version.py')
-rw-r--r-- | subcmds/version.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subcmds/version.py b/subcmds/version.py index e95a86dc..1d9abb58 100644 --- a/subcmds/version.py +++ b/subcmds/version.py | |||
@@ -18,6 +18,7 @@ import sys | |||
18 | from command import Command, MirrorSafeCommand | 18 | from command import Command, MirrorSafeCommand |
19 | from git_command import git, RepoSourceVersion, user_agent | 19 | from git_command import git, RepoSourceVersion, user_agent |
20 | from git_refs import HEAD | 20 | from git_refs import HEAD |
21 | from wrapper import Wrapper | ||
21 | 22 | ||
22 | 23 | ||
23 | class Version(Command, MirrorSafeCommand): | 24 | class Version(Command, MirrorSafeCommand): |
@@ -62,3 +63,4 @@ class Version(Command, MirrorSafeCommand): | |||
62 | print('OS %s %s (%s)' % (uname.system, uname.release, uname.version)) | 63 | print('OS %s %s (%s)' % (uname.system, uname.release, uname.version)) |
63 | print('CPU %s (%s)' % | 64 | print('CPU %s (%s)' % |
64 | (uname.machine, uname.processor if uname.processor else 'unknown')) | 65 | (uname.machine, uname.processor if uname.processor else 'unknown')) |
66 | print('Bug reports:', Wrapper().BUG_URL) | ||