From 5169477f52a6477dccc49c0012cd41d2316e76db Mon Sep 17 00:00:00 2001 From: peterbarnett03 Date: Mon, 27 Oct 2025 11:34:36 -0400 Subject: [PATCH] fix: Add '--database' flag to update database commands (#6491) Had user feedback and have validated the flag is needed. --- content/shared/influxdb3-cli/update/database/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/shared/influxdb3-cli/update/database/_index.md b/content/shared/influxdb3-cli/update/database/_index.md index d73b9ea15..4ae057a37 100644 --- a/content/shared/influxdb3-cli/update/database/_index.md +++ b/content/shared/influxdb3-cli/update/database/_index.md @@ -80,7 +80,7 @@ Updates a database retention period to 30 days. ```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"} -influxdb3 update database --retention-period 30d DATABASE_NAME +influxdb3 update database --retention-period 30d --database DATABASE_NAME ``` ### Clear a database retention period @@ -90,7 +90,7 @@ Removes the retention period from a database by setting it to `none`. ```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"} -influxdb3 update database --retention-period none DATABASE_NAME +influxdb3 update database --retention-period none --database DATABASE_NAME ``` ### Update a database with authentication @@ -100,7 +100,7 @@ Updates a database using an authentication token. ```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"} -influxdb3 update database --token AUTH_TOKEN --retention-period 7d DATABASE_NAME +influxdb3 update database --token AUTH_TOKEN --retention-period 7d --database DATABASE_NAME ``` -{{% /show-in %}} \ No newline at end of file +{{% /show-in %}}