Print vitastor-cli help for ls-osds and user-modify aliases #104
Reference in New Issue
Block a user
No description provided.
Delete Branch "koolkhel/vitastor:cli-help-aliases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
--helpfor 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