Skip to content

Commit cfa26cd

Browse files
committed
Don't require metric argument in cli tool
1 parent c826753 commit cfa26cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frequenz/client/reporting/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def main() -> None:
3232
nargs="+",
3333
choices=[e.name for e in Metric],
3434
help="List of metrics to process",
35-
required=True,
35+
required=False,
36+
default=[],
3637
)
3738
parser.add_argument(
3839
"--states",

0 commit comments

Comments
 (0)