On Sat, 2016-01-09 at 08:36 -0500, John Ferlan wrote: > Rather than continually cut-n-paste the strings into each command, > create a common macro to be used generically. Note that not all > '{.name = "live",' entries are replaced, just those that have the > common .help string of "affect running domain". > > Non replaced instances are unique to the command. > > Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx> > --- > tools/virsh-domain.c | 111 +++++++++++++-------------------------------------- > 1 file changed, 27 insertions(+), 84 deletions(-) Same comments as for the 'config' option with regard to the 'dommemstat' and 'change-media' commands. Cheers. -- Andrea Bolognani Software Engineer - Virtualization Team -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list