be0c1af install: simplify CLI option parsing

Authored and Committed by jcholast 2 years ago
    install: simplify CLI option parsing
    
    Let IPAOptionParser handle parsing of its supported types and use an option
    callback only for unsupported types.
    
    Instead of parsing positional arguments manually, parse them using a custom
    IPAOptionParser instance, reusing the option parsing code.
    
    https://fedorahosted.org/freeipa/ticket/6392
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+69 -96