On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote: > +static void usage(const char *cmd) > +{ > + printf( > +"Usage: %s -c <channel_opts>\n" > +"QEMU virtagent guest agent\n" > +"\n" > +" -c, --channel channel options of the form:\n" > +" <method>:<addr>:<port>[:channel_id]\n" > +" -v, --verbose display extra debugging information\n" > +" -h, --help display this help and exit\n" > +"\n" > +" channels are used to establish a data connection between 2 end-points > in\n" > +" the host or the guest (connection method specified by <method>).\n" > +" The positional parameters for channels are:\n" > +"\n" > +" <method>: one of unix-connect, unix-listen, tcp-connect, > tcp-listen,\n" > +" virtserial-open\n"
The usage information doesn't agree with the parameters the program accepts (virtserial-open -> virtio-serial) > +" <addr>: path of unix socket or virtserial port, or IP of host, to\n" > +" connect/bind to\n" > +" <port>: port to bind/connect to, or '-' if addr is a path\n" > +"\n" > +"Report bugs to <mdr...@linux.vnet.ibm.com>\n" > + , cmd); > +} -- Thanks, Adam