influxdata / influxdata/docs-v2

Misleading flag description for influx user create

Open
#2,111 0 comments 0 reactions 1 assignee Claimed by @pierwill View on GitHub
InfluxDB v2 product:v2
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

The docs for `influx user create` have a few errors:
* They say `--org-id` is mutually exclusive with itself
* They say `--password` is mutually exclusive with `--org`

They should say:
* `--org-id` is mutually exclusive with `--org`
* `--password` is mutually exclusive with neither
* If `--password` is set, then one of `--org` or `--org-id` must be set

EDIT: Updated after looking more closely at the implementation

##### Relevant URLs
- Docs [here](https://docs.influxdata.com/influxdb/v2.0/reference/cli/influx/user/create/)
- Original user report at influxdata/influxdb#20645

##### What products and version are you using?
v2 influx CLI

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.