From 2f72becc315718a2f999165461d3a64014c1d73b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 12 Oct 2010 14:49:28 -0600 Subject: [PATCH] virsh: document options in man page * tools/virsh.pod: Document top-level options. --- tools/virsh.pod | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 209aa54055..f65f6d4757 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -24,7 +24,7 @@ KVM, LXC, OpenVZ, VirtualBox, OpenNebula, and VMware ESX. The basic structure of most virsh usage is: - virsh [ARG]... + virsh [OPTION]... [ARG]... Where I is one of the commands listed below, I is the numeric domain id, or the domain name (which will be internally @@ -45,6 +45,49 @@ If no command is given in the command line, B will then start a minimal interpreter waiting for your commands, and the B command will then exit the program. +The B program understands the following I. + +=over 4 + +=item B<-h>, B<--help> + +Ignore all other arguments, and behave as if the B command were +given instead. + +=item B<-v>, B<--version> + +Ignore all other arguments, and behave as if the B command were +given instead. + +=item B<-c>, B<--connect> I + +Connect to the specified I, as if by the B command, +instead of the default connection. + +=item B<-d>, B<--debug> I + +Enable debug messages at integer I and above. I can +range from 0 (default) to 5. + +=item B<-l>, B<--log> I + +Output logging details to I. + +=item B<-q>, B<--quiet> + +Avoid extra informational messages. + +=item B<-r>, B<--readonly> + +Make the initial connection read-only, as if by the I<--readonly> +option of the B command. + +=item B<-t>, B<--timing> + +Output elapsed time information for each command. + +=back + =head1 NOTES Most B operations rely upon the libvirt library being able to -- GitLab