Skip to content

Commit 8fa4f42

Browse files
authored
fix: fix --json cli param (#100)
fixes #94
1 parent e95c1f0 commit 8fa4f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aw_client/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def events(obj: _Context, bucket_id: str):
100100
@click.argument("path")
101101
@click.option("--name")
102102
@click.option("--cache", is_flag=True)
103-
@click.option("--json", is_flag=True)
103+
@click.option("--json", "_json", is_flag=True)
104104
@click.option("--start", default=now - td1day, type=click.DateTime())
105105
@click.option("--stop", default=now + td1yr, type=click.DateTime())
106106
@click.option("--timezone",

0 commit comments

Comments
 (0)