Add --version flag to pvcnoded.py for info
This commit is contained in:
parent
7a99e0e524
commit
570460e5ee
|
@ -19,6 +19,11 @@
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
from sys import argv
|
||||||
import pvcnoded.Daemon # noqa: F401
|
import pvcnoded.Daemon # noqa: F401
|
||||||
|
|
||||||
|
if "--version" in argv:
|
||||||
|
print(pvcnoded.Daemon.version)
|
||||||
|
exit(0)
|
||||||
|
|
||||||
pvcnoded.Daemon.entrypoint()
|
pvcnoded.Daemon.entrypoint()
|
||||||
|
|
Loading…
Reference in New Issue