Better doc
This commit is contained in:
parent
ae28622475
commit
7f56542fe8
4
pvc.py
4
pvc.py
|
@ -757,13 +757,13 @@ def start_vm(domain):
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# pvc vm restart
|
# pvc vm restart
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@click.command(name='restart', short_help='Restart virtual machine.')
|
@click.command(name='restart', short_help='Restart a running virtual machine.')
|
||||||
@click.argument(
|
@click.argument(
|
||||||
'domain'
|
'domain'
|
||||||
)
|
)
|
||||||
def restart_vm(dom_name, dom_uuid):
|
def restart_vm(dom_name, dom_uuid):
|
||||||
"""
|
"""
|
||||||
Restart a virtual machine on its configured hypervisor.
|
Restart running virtual machine DOMAIN. DOMAIN may be a UUID or name.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Open a Zookeeper connection
|
# Open a Zookeeper connection
|
||||||
|
|
Loading…
Reference in New Issue