Skip to content

Commit

Permalink
docs: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 19, 2024
1 parent 909fde0 commit dd97008
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ape/cli/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def set_level(ctx, param, value):
if cli_logger._did_parse_sys_argv:
cli_logger.set_level(value)
else:
# Avoid callback without fully parsing sys argv first.
cli_logger._load_from_sys_argv(default=value)

level_names = [lvl.name for lvl in LogLevel]
Expand Down

0 comments on commit dd97008

Please sign in to comment.