diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-06-16 22:46:39 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-06-17 00:12:32 -0400 |
commit | 230545bdb3ef7ece8656ccddd8c14075d575c7c6 (patch) | |
tree | 26e3b6167e9091edb93584e1dde779c7f5be14f1 /virt-install | |
parent | 49112dbb708b0ada1d868fe4b14879137d01250b (diff) | |
download | virt-manager-230545bdb3ef7ece8656ccddd8c14075d575c7c6.tar.gz |
virt-install: Make bare '--wait' mean 'wait indefinitely'
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-install b/virt-install index b22304b6..6084a459 100755 --- a/virt-install +++ b/virt-install @@ -900,7 +900,7 @@ def parse_args(): misc.add_argument("--destroy-on-exit", action="store_true", default=False, help=_("Force power off the domain when the console " "viewer is closed.")) - misc.add_argument("--wait", type=int, + misc.add_argument("--wait", type=int, const=-1, nargs="?", help=_("Minutes to wait for install to complete.")) cli.add_misc_options(misc, prompt=True, printxml=True, printstep=True, |