Skip to content
  • Thomas Haller's avatar
    cli: minor cleanup explicitly checking print_output · ac07cbb9
    Thomas Haller authored
    The print-output knows three modes: NORMAL, PRETTY, TERSE.
    Never compare whether a mode is != a particular mode.
    
    Instead, always explicitly check for the modes for which we enable a
    particular behavior.
    
    The effect is, that we always do something when the mode is set to a
    particular value. We don't ever do something, if the mode is not set to
    a particular value. Consistently opt-in is easier to understand.
    ac07cbb9