Print vitastor-cli help for ls-osds and user-modify aliases #104

Merged
vitalif merged 1 commits from koolkhel/vitastor:cli-help-aliases into master 2026-10-25 17:22:43 +03:00
Contributor

Description

vitastor-cli accepts ls-osds and user-modify, but --help does not list
them, so "vitastor-cli --help ls-osds" printed "Unknown command". Add
them to the help and to the docs, which also lacked the pgs alias in the
Russian version. Test that --help knows every name the CLI accepts.

Tested: new tests/test_cli_help.sh runs --help for every command name in cli.cpp; it fails without the fix ("Unknown command" for ls-osds) and passes with it.

Contributor Name

Yury Luneff (MIND Software LLC, https://mindsw.io)

CLA

### Description vitastor-cli accepts ls-osds and user-modify, but --help does not list them, so "vitastor-cli --help ls-osds" printed "Unknown command". Add them to the help and to the docs, which also lacked the pgs alias in the Russian version. Test that --help knows every name the CLI accepts. Tested: new tests/test_cli_help.sh runs `--help` for every command name in cli.cpp; it fails without the fix ("Unknown command" for ls-osds) and passes with it. ### Contributor Name Yury Luneff (MIND Software LLC, https://mindsw.io) ### CLA - [x] I accept Vitastor CLA agreement: https://git.yourcmc.ru/vitalif/vitastor/src/branch/master/CLA-en.md
koolkhel added 1 commit 2026-10-25 16:15:06 +03:00
vitastor-cli accepts ls-osds and user-modify, but --help does not list
them, so "vitastor-cli --help ls-osds" printed "Unknown command". Add
them to the help and to the docs, which also lacked the pgs alias in the
Russian version. Test that --help knows every name the CLI accepts.
vitalif merged commit dacdd9e8d3 into master 2026-10-25 17:22:43 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vitalif/vitastor#104
No description provided.