Better help text for init command

This commit is contained in:
Joshua Boniface 2018-07-18 22:36:36 -04:00
parent e2b5feb660
commit 00f5567b9c
1 changed files with 3 additions and 1 deletions

4
pvc.py
View File

@ -1410,7 +1410,9 @@ def get_vm_list(hypervisor):
prompt='DANGER: This command will destroy any existing cluster data. Do you want to continue?')
def init_cluster():
"""
Perform initialization of Zookeeper to act as a PVC cluster
Perform initialization of Zookeeper to act as a PVC cluster.
DANGER: This command will overwrite any existing cluster data and provision a new cluster at the specified Zookeeper connection string. Do not run this against a cluster unless you are sure this is what you want.
"""
click.echo('Initializing a new cluster with Zookeeper address "{}".'.format(zk_host))