-
Notifications
You must be signed in to change notification settings - Fork 160
Can’t avoid line numbers with command line tool #479
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
Comments
Is this flag used today by any project? It could be a remnant from earlier times. Adding , |
Who knows? :) If it's used, it's basically pointless. The Fake 5 wrapper for this tool does not expose any option to remove line numbers, so at least from that side there isn't any usage. Your call. |
Looks like @fbmnds and @Krzysztof-Cieslak are the ones who has touched the code lately (2-5 years), so could perhaps give some insights into the intent. I'm not in charge of this project. I try to help out because I like the library. I think @matthid is the one who does most of the work right now. |
Just found #402...sorry for the dup. |
I think the comment about a PR still stands. If you send in a PR that fixes the issue people would be happy to accept it. |
There seems to be some documentation that mentions some of the behavior. Since the default is to have line numbers, perhaps better to change the semantics to be able to disable them. What does @matthid think? |
Totally happy to PR, just want any maintainer to make a call on whether they'd prefer to switch the default of I would suggest to do the second, at least it doesn't silently change behavior. |
I'd prefer the second alternative to be honest (since the current cli flag does not add value). |
Yes I agree |
If you are paranoid about the usage, then you could have |
The command line tool has
—lineNumbers
which defaults totrue
. Unfortunately that means you effectively can not turn it off looks like - because CommandLineParser interprets absence of the arg as the default, and presence of the arg as true also.Lmk if I missed anything here.
If not, any preference for changing the default to false, OR changing the switch to
—noLineNumbers
? Happy to PR either.The text was updated successfully, but these errors were encountered: