Skip to content
  • Joey Hess's avatar
    Make --json and --quiet suppress automatic init messages · 219e2fa1
    Joey Hess authored
    And any other messages that might be output before a command starts.
    
    Fixes a reversion introduced in version 5.20150727.
    
    During the optparse-applicative conversion, I needed a place to run
    per-command global option setters, and I made it get run during the seek stage. But
    that is too late to have --json and --quiet disable output produced in the
    check stage. Fix is just to run those per-command global option setters at
    the same time as the all-command global option setters.
    
    This commit was sponsored by Thom May.
    219e2fa1