Skip to content

CLI use to update database retention missing --database argument #6515

@ingoratsdorf

Description

@ingoratsdorf

influxdb3:~# influxdb3 update database --retention-period 365d <database> as per documentation

error: unexpected argument '<database>' found

Usage: influxdb3 update database [OPTIONS] --database <DATABASE_NAME>

For more information, try '--help'.

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

Relevant URLs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions