Re: [libvirt] [RFC PATCH] virsh: new echo command

2010-10-13 Thread Daniel Veillard
On Tue, Oct 12, 2010 at 05:39:24PM -0600, Eric Blake wrote: * tools/virsh.c (cmdEcho): New command. (commands): Add it. (vshCmdOptType): Add VSH_OT_ARGV. (vshCmddefGetData): Special case new opt flag. (vshCommandOptArgv): New function. --- Not complete yet, but this shows what I'm

[libvirt] [RFC PATCH] virsh: new echo command

2010-10-12 Thread Eric Blake
* tools/virsh.c (cmdEcho): New command. (commands): Add it. (vshCmdOptType): Add VSH_OT_ARGV. (vshCmddefGetData): Special case new opt flag. (vshCommandOptArgv): New function. --- Not complete yet, but this shows what I'm thinking of. Adding the echo command has two benefits: 1. It will let me