• Leonardo Sandoval's avatar
    fiptool: return zero status on help and help <command> · 4e500525
    Leonardo Sandoval authored
    
    
    Querying the 'fiptool' for help or help <command> should return 0
    return status (success) and not 1 (failure). In the other hand, if tool is
    executed with any other command (not help) where command's parameters are
    either missing or wrong, then the tool should return non-zero (failure). Now,
    the 'usage' function caller is the one that passes the return status.
    
    Change-Id: Id5eea91037cd810fb1e34a42e8199ef504f5daa4
    Signed-off-by: default avatarLeonardo Sandoval <leonardo.sandoval@linaro.org>
    4e500525
fiptool.c 29.9 KB