Commit 5a09abdd authored by Marco Mariani's avatar Marco Mariani

added version number to slapos help

parent efd0b05d
from setuptools import setup, find_packages
import glob
import os
version = '0.34.1-dev'
from slapos.version import version
name = 'slapos.core'
long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read() + "\n"
......
......@@ -43,6 +43,7 @@ from slapos.grid.slapgrid import runUsageReport as report
from slapos.grid.svcbackend import supervisord
from slapos.grid.svcbackend import supervisorctl
from slapos.register.register import main as register
from slapos.version import version
# Note: this whole file is a hack. We should better try dedicated library
# like https://github.com/dhellmann/cliff or https://github.com/docopt/docopt.
......@@ -173,7 +174,7 @@ def main():
else:
is_node = False
usage = """SlapOS command line interface.
usage = """SlapOS %s command line interface.
For more informations, refer to SlapOS documentation.
Client subcommands usage:
......@@ -195,7 +196,7 @@ Node subcommands usage:
slapos node status <process>
slapos node supervisorctl
slapos node supervisord
"""
""" % version
# Parse arguments
# XXX remove the "positional arguments" from help message
......
version = '0.34.1-dev'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment