diff --git a/aprsd/cli_helper.py b/aprsd/cli_helper.py index 5a0aa61..646a4cf 100644 --- a/aprsd/cli_helper.py +++ b/aprsd/cli_helper.py @@ -282,6 +282,10 @@ def process_standard_options_no_config(f: F) -> F: except cfg.ConfigFilesNotFoundError: # Config file not needed for this function, so ignore error pass + except cfg.RequiredOptError as roe: + # They are missing a required option from the config, + # but we don't care, because they aren't loading a config + pass ctx.obj['loglevel'] = kwargs['loglevel'] ctx.obj['config_file'] = kwargs['config_file']