Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
cli: fix the misalinged text on "node --help"#10948
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
aashil commented Jan 22, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
6e97b90 to cd89840Compareevanlucas commented Jan 23, 2017
Thanks @aashil! Can you prefix the commit message with |
cjihrig commented Jan 23, 2017
Does the |
joshgav commented Jan 23, 2017
LGTM - thanks! |
jasnell commented Jan 23, 2017
Agree with @cjihrig's concern. If this causes any lines to go over 80, then that should be fixed. Otherwise LGTM |
aashil commented Jan 23, 2017
@evanlucas Sure, will do it. |
cd89840 to 1cf525bComparecjihrig commented Jan 23, 2017
Because you didn't write it yet! :-D |
aashil commented Jan 23, 2017
@cjihrig Can I help with setting it up? If yes, I would like to submit an issue and start working on it. |
cjihrig commented Jan 23, 2017
I would just add a test to this PR. You can spawn |
aashil commented Jan 23, 2017
I think we already have cpplint setup which tests for the 80 character limit here. From what I understand, the CI should automatically boot up the cpplint on submitting a PR. Please correct me if I am wrong. |
cjihrig commented Jan 23, 2017
Linting would run on the source code. I was referring to the actual message printed to the console. |
aashil commented Jan 23, 2017
Ah, makes sense. Can you please point me to the file where I need to write the test ? Thank you. |
cjihrig commented Jan 23, 2017
I would create a new test in |
aashil commented Jan 23, 2017
Thanks. Will add the test soon. |
1cf525b to 37860efCompareaashil commented Jan 23, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@cjihrig I wrote a test as discussed but the test is reading the message from the Error: |
Trott commented Jan 23, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@aashil |
aashil commented Jan 23, 2017
@Trott Added the space after it. Still the same error. This time I did |
37860ef to 314bc85Comparesrc/node.cc Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and use-openssl-ca need to be aligned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
ab9cebc to ed2faefCompareTrott commented Jan 26, 2017
aashil commented Jan 26, 2017
It appears that |
Trott commented Jan 26, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
The ARM thing is just a problem with the GitHub widget. It's just the FIPS issue that we need to figure out. As best as I can tell from looking at So given that, it seems like the options are:
Looking at I'm not sure I'm communicating the idea clearly above, but that may be OK for now because I'm starting to wonder if trying to have the test be in this PR may be creating more problems than it's solving. Maybe we should strip it out of this and open a separate PR for it. Then the alignment fix for the usage text can land sooner and the test can take as much time as it takes. Normally, I'm not in favor of landing tests after functionality, but this isn't really functionality. It's formatting. I'm OK with the test coming later. We've gone this long without a test for it... In case I'm missing an obvious solution that can easily be implemented, thus invalidating nearly everything I've written above: /cc @nodejs/testing |
Trott commented Jan 27, 2017
@aashil Is it OK with you if I land the alignment fix and we push the test issue to another PR? |
aashil commented Jan 27, 2017
Sure, Rich. I would like to work on the test issue PR as well. Will create a new PR in the weekend. |
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Josh Gavant <[email protected]>
ed2faef to 5d27cc1CompareTrott commented Jan 28, 2017
Updated to just include changes to alignment in help message. |
Trott commented Jan 28, 2017
Landed in 5d27cc1. |
evanlucas commented Jan 31, 2017
This isn't landing cleanly on v7.x. Mind opening a backport pr targetting v7.x-staging? |
Trott commented Jan 31, 2017
@evanlucas Might be best to backport 6ff3b03 first. |
aashil commented Jan 31, 2017
I can backport both if you want. |
evanlucas commented Jan 31, 2017
@aashil that would be awesome! Let us know if you have any questions on how to backport! Thanks! |
aashil commented Feb 1, 2017
From what I understand about backporting, first I need to create a branch off upstream/v7.x-staging and install the node version (7.x) in that branch. Thereafter, I need to make a copy of those commits (cherry-pick) and make sure it runs of v7.x. Just want to make sure I am on the right path. |
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Josh Gavant <[email protected]>
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Josh Gavant <[email protected]>
The alignment of the argument descriptions in the "node --help"
text is off. This commit fixes the issue by adding two spaces
before each of the argument description.
Fixes: #10935
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
cli