-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crm configure property
bash completion and the help text for each property
#1390
Comments
Should be impossible to show the description at non-interactive mode Like
The cursor will be positioned after the string At interactive mode, the description will be shown in a loop
That's why we wrote this condition https://github.com/ClusterLabs/crmsh/blob/master/crmsh/ui_configure.py#L228 |
I'm inclined to show help info for that property after the command failed, instead to show help info with
|
crm configure property
bash completion and adjust --help accordinglycrm configure property
bash completion and the help text for each property
Few more findings:
Can we provide bash completion for
crm configure property <TAB><TAB>
? Just like the interactive mode which is very good.Similar, to provide meta-data description completion, for example,
crm configure property stonith-timeout= <TAB><TAB>
crm configure property --help
could be revised accordingly to use the above approach instead of referring tocrm ra info
Originally posted by @liangxin1300 in #1379 (comment)
The text was updated successfully, but these errors were encountered: