]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Create macro for common "file" option
authorJohn Ferlan <jferlan@redhat.com>
Sat, 9 Jan 2016 13:36:29 +0000 (08:36 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 11 Jan 2016 23:14:00 +0000 (18:14 -0500)
commitfebf69b5e9fa5cff1baea8ed2c6da13d5cb32722
treec4c07c8a55899eb2e9d218c8099827be77ae35a5
parent5b42dbed98ee821714d9bfae4db524329ad9863c
virsh: Create macro for common "file" 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 for the less common help string for each
command option.  Note that only file options using "OT_DATA" and
"OFLAG_REQ" will be replace - others are left as is.

Signed-off-by: John Ferlan <jferlan@redhat.com>
tools/virsh-domain.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-nwfilter.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virsh-volume.c
tools/virsh.h