]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Create macro for common "config" option
authorJohn Ferlan <jferlan@redhat.com>
Sat, 9 Jan 2016 13:36:26 +0000 (08:36 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 11 Jan 2016 23:14:00 +0000 (18:14 -0500)
commit0dbac60b9ea6fc11339e61ab1cb8bffa1e3ac3a6
tree7c3b7f7beaf7a2d4ae3c24d60e337670c3d6fb3d
parentc7ccd8b2e6ff4324646d263619ad6b6e10401b6c
virsh: Create macro for common "config" option

Rather than continually cut-n-paste the strings into each command,
create a common macro to be used generically. The macro will take a
single argument _helpstr which for many options in virsh-domain.c
is simply "affect next boot". So, create a second macro within that
file in order to define the more common use as a revector to the
common macro with the common _helpstr.

Signed-off-by: John Ferlan <jferlan@redhat.com>
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-network.c
tools/virsh.h