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

Rather than continually cut-n-paste the strings into each command,
create a common macro to be used generically.  Note that not all
'{.name = "persistent",' entries are replaced, just those that have the
common .help string of "make live change persistent".

Non replaced instances are unique to the command.

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