0

Have overviewer --version --verbose print some helpful information

This commit is contained in:
Andrew Chin
2013-12-14 18:40:05 -05:00
parent cc4261aea5
commit 2deaff6dac

View File

@@ -135,8 +135,12 @@ def main():
print("built on %s" % overviewer_version.BUILD_DATE)
if options.verbose > 0:
print("Build machine: %s %s" % (overviewer_version.BUILD_PLATFORM, overviewer_version.BUILD_OS))
print("Read version information from %r"% overviewer_version.__file__)
except ImportError:
print("(build info not found)")
if options.verbose > 0:
print("Python executable: %r" % sys.executable)
print(sys.version)
return 0
if options.pid: