From e2b5feb660e6cf05ee00824634990808083c585f Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Wed, 18 Jul 2018 22:30:23 -0400 Subject: [PATCH] Better text in root help --- pvc.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pvc.py b/pvc.py index 03dc3bcd..e4cccafe 100755 --- a/pvc.py +++ b/pvc.py @@ -469,7 +469,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'], max_content_width=12 ############################################################################### # pvc node ############################################################################### -@click.group(name='node', short_help='Manage a PVC hypervisor node', context_settings=CONTEXT_SETTINGS) +@click.group(name='node', short_help='Manage a PVC hypervisor node.', context_settings=CONTEXT_SETTINGS) def node(): """ Manage the state of a node in the PVC cluster. @@ -730,7 +730,7 @@ RAM (MiB): {node_mem_total: <6} {node_mem_used: <6} {node_mem_free: <6} {node_me ############################################################################### # pvc vm ############################################################################### -@click.group(name='vm', short_help='Manage a PVC virtual machine', context_settings=CONTEXT_SETTINGS) +@click.group(name='vm', short_help='Manage a PVC virtual machine.', context_settings=CONTEXT_SETTINGS) def vm(): """ Manage the state of a virtual machine in the PVC cluster. @@ -1449,7 +1449,9 @@ def cli(_zk_host): """ Parallel Virtual Cluster CLI management tool - You can use the environment variable "PVC_ZOOKEEPER" to set the Zookeeper address in addition to using "--zookeeper". + Environment variables: + + "PVC_ZOOKEEPER": Set the cluster Zookeeper address instead of using "--zookeeper". """ global zk_host