cli: clarify -g usage in container list #1148

Merged
fyrchik merged 1 commit from elebedeva/frostfs-node:fix/ffs-cli-container-list-g into master 2024-05-29 10:05:48 +00:00
Member

Close #12

Add usage replacement for container list -g and verbose warning when using -g without --owner.

service@ekaterinalebedeva-node1[alone_datacenter]:~$ frostfs-cli container list -g -r 192.168.198.253:8080
WARN: using -g without --owner - output will be empty
...
Usage:
  frostfs-cli container list [flags]

Flags:
      --address string        Address of wallet account
  -g, --generate-key          Generate new private key, should be used with --owner flag

...

Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com

Close #12 Add usage replacement for `container list -g` and verbose warning when using `-g` without `--owner`. ``` service@ekaterinalebedeva-node1[alone_datacenter]:~$ frostfs-cli container list -g -r 192.168.198.253:8080 WARN: using -g without --owner - output will be empty ``` ``` ... Usage: frostfs-cli container list [flags] Flags: --address string Address of wallet account -g, --generate-key Generate new private key, should be used with --owner flag ... ``` Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
elebedeva requested review from storage-core-committers 2024-05-28 12:17:24 +00:00
elebedeva requested review from storage-core-developers 2024-05-28 12:17:25 +00:00
elebedeva force-pushed fix/ffs-cli-container-list-g from 2dc11f4b17 to cc3f762cf2 2024-05-28 12:18:50 +00:00 Compare
fyrchik approved these changes 2024-05-28 12:37:13 +00:00
acid-ant approved these changes 2024-05-29 08:14:50 +00:00
fyrchik merged commit cc3f762cf2 into master 2024-05-29 10:05:48 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1148
No description provided.