cc005fe vsh: Filter --options

Authored and Committed by mprivozn 6 years ago
1 file changed. 59 lines added. 1 lines removed.
    vsh: Filter --options
    
    Similarly to the previous commit, once we've presented an
    --option for a command to the user it makes no sense to offer it
    again. Therefore, we can prune all already specified options. For
    instance, after this patch:
    
      virsh # migrate --verbose <TAB><TAB>
    
    will no longer offer --verbose option.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+59 -1