diff options
Diffstat (limited to 'subcmds/version.py')
| -rw-r--r-- | subcmds/version.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subcmds/version.py b/subcmds/version.py index e95a86dc..09b053ea 100644 --- a/subcmds/version.py +++ b/subcmds/version.py | |||
| @@ -18,13 +18,14 @@ 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): |
| 24 | wrapper_version = None | 25 | wrapper_version = None |
| 25 | wrapper_path = None | 26 | wrapper_path = None |
| 26 | 27 | ||
| 27 | common = False | 28 | COMMON = False |
| 28 | helpSummary = "Display the version of repo" | 29 | helpSummary = "Display the version of repo" |
| 29 | helpUsage = """ | 30 | helpUsage = """ |
| 30 | %prog | 31 | %prog |
| @@ -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) | ||
