jc00ke/sidekiq — comment on commit 6f22320aee19d188a167a901fea6de13d788c5d7
File: lib/sidekiq/cli.rb line 156
By mperham:

Rather than do a bunch of if checks to see if the config file value should be used, why not just parse CLI and config file args into separate hashes and then just merge them? `defaults.merge(config.merge(cli))` will ensure that cli values override any config values which override any default values.