diff --git a/src/frequenz/client/reporting/__main__.py b/src/frequenz/client/reporting/__main__.py index 296858f..f922ddd 100644 --- a/src/frequenz/client/reporting/__main__.py +++ b/src/frequenz/client/reporting/__main__.py @@ -29,10 +29,11 @@ def main() -> None: parser.add_argument( "--metrics", type=str, - nargs="+", + nargs="*", choices=[e.name for e in Metric], help="List of metrics to process", - required=True, + required=False, + default=[], ) parser.add_argument( "--states",