Skip to content

Commit 01eaf67

Browse files
committed
docs: clarify item list args
1 parent 7a18241 commit 01eaf67

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/public/docs/commands/item.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ pass-cli item list [VAULT_NAME] [--share-id SHARE_ID] [--output FORMAT]
2424

2525
**Options:**
2626

27-
- `VAULT_NAME` - Name of the vault to list items from (optional)
28-
- `--share-id SHARE_ID` - Share ID of the vault to list items from (optional)
27+
- `VAULT_NAME` - Name of the vault to list items from. Specify `VAULT_NAME` if you are not passing a `--share-id`. Used as an argument
28+
- `--share-id SHARE_ID` - Share ID of the vault to list items from. Specify `--share-id` if you are not passing a `VAULT_NAME`. Used as a flag
2929
- `--output FORMAT` - Output format: `human` (default) or `json`
3030

31+
**Mutually exclusive options:**
32+
33+
- `--share-id` and `VAULT_NAME` are mutually exclusive. You must provide exactly one.
34+
3135
**Examples:**
3236

3337
```bash

0 commit comments

Comments
 (0)