• Nicolas George's avatar
    lavu/opt: enhance printing durations. · 47ea04ff
    Nicolas George authored
    Trim unneeded leading components and trailing zeros.
    Move the formating code in a separate function.
    Use the function also to format the default value, it was currently
    printed as plain integer, inconsistent to the way it is parsed.
    47ea04ff
opt.c 72.4 KB