• J
    virsh: Create macro for common "domain" option · b6fb1e24
    John Ferlan 提交于
    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 will be used to pass the translatable
    helpstr since not all domain options can take the same string.
    
    The majority of the options take 'N_("domain name, id or uuid")', so
    create a separate macro with a _FULL suffix while those that do not
    take the same string will use the VIRSH_COMMON_OPT_DOMAIN macro.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    b6fb1e24
virsh-snapshot.c 61.4 KB