-
Notifications
You must be signed in to change notification settings - Fork 93
Dev: ra: Show parameters more clearly #1733
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
Dev: ra: Show parameters more clearly #1733
Conversation
660de42
to
3f71944
Compare
3f71944
to
3a07161
Compare
3a07161
to
ea50b94
Compare
Too noisy. The original format, using |
I thought this could be unified with the format like |
This PR also fix #1724
|
ea50b94
to
ea04de7
Compare
Apparently, required fields does not need such strong user attention compared to advanced use only fields. And deprecated/obsoleted fields should attract less user attention than other fields. |
Then how to mark them? |
We can sort the parameters, displaying required ones first, and then other common parameters, and lastly deprecated ones. And it is enough to use Or we can display deprecated parameters in a separated section after other parameters, so that users can ignore the entire section when they don't need them. |
9a4ffd7
to
f687812
Compare
Changed |
- Sort parameters by required parameters first, then by alphabetical order, at least for the deprecated parameters - Change the way to show required/deprecated/obsolete parameters
f687812
to
ae19e32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. LGTM.
backport #1733 The extra code lines are for the test case output of external/ssh, which is dropped on the master branch
Changes for
ra info
output