Add vcs string to version option output
This commit adds a vcs string to 'tempest --version' output like '12.0.1.dev122' because it's confusing without vcs when a development phase, especially. Change-Id: I4de869c84cefc3e42e8a1416c6deeb29fe72e186
This commit is contained in:
parent
efbe00da61
commit
70e0a8986c
|
@ -26,7 +26,7 @@ class Main(app.App):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(Main, self).__init__(
|
super(Main, self).__init__(
|
||||||
description='Tempest cli application',
|
description='Tempest cli application',
|
||||||
version=version.VersionInfo('tempest').version_string(),
|
version=version.VersionInfo('tempest').version_string_with_vcs(),
|
||||||
command_manager=commandmanager.CommandManager('tempest.cm'),
|
command_manager=commandmanager.CommandManager('tempest.cm'),
|
||||||
deferred_help=True,
|
deferred_help=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue