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

src: indent long help text properly #37911

Closed
wants to merge 1 commit into from

Commits on Mar 28, 2021

  1. src: indent long help text properly

    The previous code passed an ignored argument to StringPrototypeTrimLeft,
    and tried to trim a string that didn't start with whitespace. The trim
    makes more sense after the indentation has been added. Now wrapped lines
    actually show up with the rest of the help text.
    
    Doing this made an uncharacteristic trailing newline in the
    `--icu-data-dir` help text more obvious, so I removed that.
    
    PR-URL: nodejs#37911
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    glasser authored and aduh95 committed Mar 28, 2021
    Copy the full SHA
    19ed27d View commit details
    Browse the repository at this point in the history