7f7e652 There is no reason asking for root privileges if user is just using

Authored and Committed by pbrobinson 8 years ago
    There is no reason asking for root privileges if user is just using
    --help option. And this patch is fixing it.
    
    Original Version:
    
     $ arm-image-installer --help
    [sudo] password for burlak:
    
    Fixed Version:
    $ ./arm-image-installer --help
    
    Usage: arm-image-installer <options>
    
       --image=IMAGE    - xz compressed image file name
       --target=TARGET  - target board
    
    Signed-off-by: Andrej Manduch <amanduch@gmail.com>
    Tested-by: Peter Robinson <pbrobinson@fedoraproject.org>
    
        
file modified
+6 -5