chiark / gitweb /
systemd-analyze: use specified binary, add --version
[elogind.git] / src / analyze / systemd-analyze.in
index de602be24298aef551a587f5568ef68ca5452164..26a9f7b57f3c398f9b1b611d62e35e341b5a02c4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@PYTHON_BINARY@
 
 import sys, os
 import argparse
@@ -282,6 +282,7 @@ def plot():
         surface.finish()
 
 parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
+                                 version='systemd-analyze @PACKAGE_VERSION@',
                                  description='Process systemd profiling information',
                                  epilog='''\
 time - print time spent in the kernel before reaching userspace