b6fb1e2 virsh: Create macro for common "domain" option

Authored and Committed by John Ferlan 8 years ago
    virsh: Create macro for common "domain" 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 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: John Ferlan <jferlan@redhat.com>
    
        
file modified
+17 -65
file modified
+82 -396
file modified
+14 -51
file modified
+7 -0