diff --git a/man/virt-manager.pod b/man/virt-manager.pod index 2422d4bf1..794aed8a0 100644 --- a/man/virt-manager.pod +++ b/man/virt-manager.pod @@ -48,14 +48,10 @@ List debugging output to the console (normally this is only logged in Don't fork C off into the background: run it blocking the current terminal. Useful for seeing possible errors dumped to stdout/stderr. -=item B<--no-conn-autostart> - -Don't autostart any libvirt connections when launching C. - =item B<--show-DIALOG-WINDOW> -Display the corresponding C when launching C. This -function implies --no-conn-autostart and the manager window will not be shown +Display the corresponding C when launching C. +Connection autostart is skipped, and the manager window will not be shown at startup in this case. The following C options are currently available: diff --git a/virt-manager b/virt-manager index 79fcf6cd8..0a761049f 100755 --- a/virt-manager +++ b/virt-manager @@ -165,8 +165,6 @@ def parse_commandline(): default=False) parser.add_argument("--no-fork", action="store_true", help="Don't fork into background on startup") - parser.add_argument("--no-conn-autostart", action="store_true", - dest="skip_autostart", help="Do not autostart connections") parser.add_argument("--spice-disable-auto-usbredir", action="store_true", dest="usbredir", help="Disable Auto USB redirection support") @@ -274,8 +272,9 @@ def main(): if show_window and options.uri is None: raise RuntimeError("can't use --show-* options without --connect") + skip_autostart = False if show_window: - options.skip_autostart = True + skip_autostart = True # Hook libvirt events into glib main loop LibvirtGLib.init(None) @@ -292,7 +291,7 @@ def main(): GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, _sigint_handler, None) - engine.start(options.uri, show_window, domain, options.skip_autostart) + engine.start(options.uri, show_window, domain, skip_autostart) if __name__ == "__main__":