Have overviewer --version --verbose print some helpful information
This commit is contained in:
@@ -135,8 +135,12 @@ def main():
|
|||||||
print("built on %s" % overviewer_version.BUILD_DATE)
|
print("built on %s" % overviewer_version.BUILD_DATE)
|
||||||
if options.verbose > 0:
|
if options.verbose > 0:
|
||||||
print("Build machine: %s %s" % (overviewer_version.BUILD_PLATFORM, overviewer_version.BUILD_OS))
|
print("Build machine: %s %s" % (overviewer_version.BUILD_PLATFORM, overviewer_version.BUILD_OS))
|
||||||
|
print("Read version information from %r"% overviewer_version.__file__)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("(build info not found)")
|
print("(build info not found)")
|
||||||
|
if options.verbose > 0:
|
||||||
|
print("Python executable: %r" % sys.executable)
|
||||||
|
print(sys.version)
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
if options.pid:
|
if options.pid:
|
||||||
|
|||||||
Reference in New Issue
Block a user