diff --git a/codecov/__init__.py b/codecov/__init__.py index 3886db7d..be62793d 100644 --- a/codecov/__init__.py +++ b/codecov/__init__.py @@ -331,7 +331,7 @@ def main(*argv, **kwargs): "--flags", "-F", nargs="*", - default=None, + default=os.getenv("CODECOV_FLAGS"), help="Flag these uploaded files with custom labels", ) basics.add_argument(