-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
windows/curl,windows/wget: fix tldr client param inconsistencies #8297
windows/curl,windows/wget: fix tldr client param inconsistencies #8297
Conversation
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.
The client specification doesn't require clients to have long options. When it comes to everything tldr-related, we should always stick to the client specification. This way we can be sure, that every client supports the -p
flag.
Also, which client uses --os
?
Only the Node.js client uses @marchersimon Maybe I should stick back using |
Yes, we should definitively use the short options, we already had to reject some PRs about exactly this in the past. I'm not so sure regarding the |
Our client spec doesn't require clients to output the version (i.e. Node.js, C++, Python instead of Sure, Windows users can check the directory where tldr-pages/tldr-node-client#336 already breaks some Windows users who installed |
@CleanMachine1 @sbrl @navarroaxel any thoughts on this? If we add the |
I think we should stick to the client specification, otherwise someone can ask to add another flag used in another tldr client. |
That's because I hardly know any javascript. I just replaced the occurences of |
Ummm the client spec does require you to output the version of the spec you implement: https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md?plain=1#L38
....and then slightly earlier:
...indeed, the Node.js client using Ideally, the Node.js client should be updated rather than this page being updated to workaround the actual issue. |
Hi all! This thread has not had any recent activity. |
Hello, is there any updates about this? |
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.
LGTM, Thanks for your contribution.
Requesting review @navarroaxel
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 has been waiting long enough.
Thanks @reinhart1010
common
,linux
,osx
,windows
,sunos
,android
, etc.Due to tldr-pages/tldr-node-client#336 impacting some Windows users who are using the Node.js version of
tldr
client, I decided to add the non-standard--os
version to the documentation as a workaround.Hopefully tldr-pages/tldr-node-client#337 can be merged to fix this issue.