Fix minor bugs

This commit is contained in:
2019-10-12 01:36:50 -04:00
parent 5995353597
commit 8dc0c8f0ac
4 changed files with 15 additions and 7 deletions

View File

@ -229,7 +229,7 @@ def cli_vm():
help='Method to determine optimal target node during autoselect; saved with VM.'
)
@click.option(
'-a'/'-A', '--autostart'/'--no-autostart', 'node_autostart', is_flag=True, default=False,
'-a/-A', '--autostart/--no-autostart', 'node_autostart', is_flag=True, default=False,
help='Start VM automatically on next unflush/ready state of home node; unset by daemon once used.'
)
@click.argument(
@ -262,7 +262,7 @@ def vm_define(config, target_node, node_limit, node_selector, node_autostart):
help='Method to determine optimal target node during autoselect; saved with VM.'
)
@click.option(
'-a'/'-A', '--autostart'/'--no-autostart', 'node_autostart', is_flag=True, default=None,
'-a/-A', '--autostart/--no-autostart', 'node_autostart', is_flag=True, default=None,
help='Start VM automatically on next unflush/ready state of home node; unset by daemon once used.'
)
@click.argument(