diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/help.py | 2 | ||||
-rw-r--r-- | subcmds/version.py | 2 |
2 files changed, 4 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 | |||
20 | from color import Coloring | 20 | from color import Coloring |
21 | from command import PagedCommand, MirrorSafeCommand, GitcAvailableCommand, GitcClientCommand | 21 | from command import PagedCommand, MirrorSafeCommand, GitcAvailableCommand, GitcClientCommand |
22 | import gitc_utils | 22 | import gitc_utils |
23 | from wrapper import Wrapper | ||
23 | 24 | ||
24 | 25 | ||
25 | class Help(PagedCommand, MirrorSafeCommand): | 26 | class 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): |
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) | ||