Skip to content
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

Print current option help #708

Open
tobiasBora opened this issue Mar 27, 2024 · 0 comments
Open

Print current option help #708

tobiasBora opened this issue Mar 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tobiasBora
Copy link

tobiasBora commented Mar 27, 2024

What do you want?

Sometimes, I'm not sure whether I'm typing the good option, say that I don't remember what ls -X does exactly. I would like to read the doc in the first entry of the help menu… unfortunately the typed option does not appear at all in the help menu:

image

Similarly, I'm not sure to understand why, but the list of options that is printed if I just type - is much smaller than the list of options that I can get if I type first a dummy entry like -A:

Peek 27-03-2024 20-37

Why do you want this?

Poor memory?

Who else would benefit from this?

I guess many people.

How should it work?

When I type -, it should print all available options (like what happens with the MORE thing when I typed a character), and if I type -X or --someoptions, the option I just typed should appear first in the option list so that I can read its documentation.

@tobiasBora tobiasBora added the enhancement New feature or request label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant