File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/shared/influxdb3-cli/update/database Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ Updates a database retention period to 30 days.
8080<!-- pytest.mark.skip-->
8181
8282``` bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
83- influxdb3 update database --retention-period 30d DATABASE_NAME
83+ influxdb3 update database --retention-period 30d --database DATABASE_NAME
8484```
8585
8686### Clear a database retention period
@@ -90,7 +90,7 @@ Removes the retention period from a database by setting it to `none`.
9090<!-- pytest.mark.skip-->
9191
9292``` bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
93- influxdb3 update database --retention-period none DATABASE_NAME
93+ influxdb3 update database --retention-period none --database DATABASE_NAME
9494```
9595
9696### Update a database with authentication
@@ -100,7 +100,7 @@ Updates a database using an authentication token.
100100<!-- pytest.mark.skip-->
101101
102102``` bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
103- influxdb3 update database --token AUTH_TOKEN --retention-period 7d DATABASE_NAME
103+ influxdb3 update database --token AUTH_TOKEN --retention-period 7d --database DATABASE_NAME
104104```
105105
106- {{% /show-in %}}
106+ {{% /show-in %}}
You can’t perform that action at this time.
0 commit comments