-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Problem with multilines long help #7
Comments
You are right, the behavior does not match. The solution to the problem is not so straightforward as using |
I found something that looks good from that stack question. A solution might be to replace: |
This looks damn good. The tricky part is the need of having |
Yes I see.. Probably for those cases you will need to manage a different code at the generation time. And you can combine strategy: More complicated to implement for sure but will manage (almost) all cases! |
I see, there would be an issue with words s.a. |
You say in the doc here that with the long argument we can use \n to go to the next line.
However, when I did this the help print the "\n" rather than going to the next line.
After trying in my terminal I saw for
printf "%s\n" "\nsalut"
that the \n in the first string is used as new line and the one in the second string is printed as "\n"The text was updated successfully, but these errors were encountered: