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

Retain newlines in usage string when called with --help command lin… #45

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Conversation

luolong
Copy link
Contributor

@luolong luolong commented Jan 7, 2022

I downloaded the latest version of the idempotent-bash.sh and as I tried to verify that it works by executing the script with --help argument, I noticed that the usage string output had lost all of the newlines.

This PR simply adds double quotes around the $IB_USAGE variable in echo, so that all the newlines would be rendered properly.

…e argument

I downloaded the latest version of the `idempotent-bash.sh` and as I tried to verify that it works, I noticed that the usage string output had lost all of the newlines.

This PR simply adds double quotes around the `$IB_USAGE` variable in echo, so that all the newlines would be rendered properly.
@metaist
Copy link
Owner

metaist commented Jan 7, 2022

Welcome @luolong! Nice catch.

@metaist metaist merged commit 8cafaea into metaist:master Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants