influxdata / influxdata/docs-v2

CLI use to update database retention missing --database argument

Open Beginner friendly
#6,515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

`influxdb3:~# influxdb3 update database --retention-period 365d ` as per documentation
```
error: unexpected argument '' found

Usage: influxdb3 update database [OPTIONS] --database

For more information, try '--help'.
```

You cannot just use the database name as argument, you have to prefix it with **--database**

##### Relevant URLs
- https://docs.influxdata.com/influxdb3/enterprise/reference/internals/data-retention/
- _Provide other relevant URLs (project issues, community threads, etc.)_

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked data-retention documentation and review the `influxdb3 update database` example against the CLI usage shown in the issue. Update the example so it matches the required option syntax, then verify that the rendered command no longer presents the database name as a positional argument.

Written by the indexing model from the issue text.

Assessment

Domain
cli, databases, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.