change virt-manager option spice-disable-usbredir to spice-disable-auto-usbredir

This is option is supposed to turn off Auto USB redirection feature
rather than USB redirection support. So adding 'auto' make it clearer.
And add its docs to manpage.
This commit is contained in:
Guannan Ren 2013-08-16 16:47:51 +08:00 committed by Cole Robinson
parent c1fa43ebb9
commit 5fd874e231
2 changed files with 5 additions and 2 deletions

View File

@ -78,6 +78,9 @@ unique ID matching C<UUID>
Display the main window summarizing performance for all virtual machines
on the host.
=item --spice-disable-auto-usbredir
Auto USB redirection is supportted by default. This option switches off it.
=back
=back

View File

@ -135,8 +135,8 @@ def parse_commandline():
help="Show domain graphical console window")
optParser.add_option("--show-host-summary", action="callback",
callback=opt_show_cb, help="Show connection details window")
optParser.add_option("--spice-disable-usbredir", action="store_true",
dest="usbredir", help="Disable USB redirection support")
optParser.add_option("--spice-disable-auto-usbredir", action="store_true",
dest="usbredir", help="Disable Auto USB redirection support")
return optParser.parse_args()