Improve help message for status

This commit is contained in:
Markus Hauschild
2013-12-15 13:39:34 +01:00
parent b8c240b824
commit 266b7fcc6b

View File

@@ -143,7 +143,7 @@ def main():
parser_shutdown.add_argument('-s', action='count', help='sequencial mode, timeout for each vm') parser_shutdown.add_argument('-s', action='count', help='sequencial mode, timeout for each vm')
parser_shutdown.set_defaults(func=vmm_shutdown) parser_shutdown.set_defaults(func=vmm_shutdown)
parser_status = subparsers.add_parser('status', help='status a VM') parser_status = subparsers.add_parser('status', help='query the status a VM')
parser_status.add_argument('-v', action='count', help='increase verbosity') parser_status.add_argument('-v', action='count', help='increase verbosity')
parser_status.add_argument('vmid', action='store', default=0, help='the ID of the VM') parser_status.add_argument('vmid', action='store', default=0, help='the ID of the VM')
parser_status.set_defaults(func=vmm_status) parser_status.set_defaults(func=vmm_status)