-
Notifications
You must be signed in to change notification settings - Fork 81
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
Further refactoring on CLI #476
Conversation
Checking whether we have a single filename '-' or multiple files, none of which are '-' is parsing and should be part of the parsing step
Similarly to 5b97b8e, this logic is part of parsing the CLI args
The tests in MainTest.kt will fail since the JVM is terminated by the exitProcess() call. In addition, many of the tests want to check the return code so exiting directly is a bad idea.
I've got a follow on PR ready to go which adds |
As this one breaks the current CLI API contract, let's land it last as make it part of the 1.0.0 release. Do you think we could land the |
This reverts commit b2e5944.
I've reverted the commit that adds |
SGTM 😃 |
@hick209 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: This was missed on the changes from #476, but luckily our internal tests caught it when I tried to sent out a new release. Reviewed By: strulovich Differential Revision: D58528471 fbshipit-source-id: ea4824b295f452b1dc0f7d868664e6792ba07c9c
This doesn't add any features or fix any bugs, but does change the style option from
--dropbox-style
to--style=dropbox
(and similarly for the other styles) as discussed in #391.