You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and haven't found one that matches what I'm reporting or requesting now.
If this is a bug report, I have searched the Bash changelog for information that may explain or provide clues to the behavior I'm observing and reference it in the body of the report.
Description
It would be handy to have a function that returns the Usage or Options sections from the help text. This could be used if a command is called without its expected arguments or with wrong options. Then the usage or options doc could be returned.
The text was updated successfully, but these errors were encountered:
Due diligence
Description
It would be handy to have a function that returns the
Usage
orOptions
sections from the help text. This could be used if a command is called without its expected arguments or with wrong options. Then the usage or options doc could be returned.The text was updated successfully, but these errors were encountered: