A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tldr-pages/tldr/releases/latest below:

Option placeholders and old asset website deprecation date · tldr-pages/tldr · GitHub

Attention maintainers!

In this release we are adding a new client-side syntax to allow the clients to show either shortform or longform options. This should remove a lot of clutter. It would also allow power users to view shortform options by default while showing longform options to new users. The syntax is backwards compatible so there is no need to rush support.

Important

The old https://tldr.sh domain will stop providing assets at the end of this year.

Changelog Option placeholders

Previously we have used a basic placeholder such as {{-h|--help}} to show both the short and long options to the user. While this gave the user more information, it also caused a lot of clutter and reduced the pasteability of the commands. The new option placeholder adds single square brackets inside the placeholder ({{[-h|--help]}}) where clients are allowed to pick which one to show. It is recommended for the clients to show only longform options by default, but if a client wants to brand itself as a power user tool they can default to showings shortform options. There is also a backwards compatible presentation style for showing both, which is just the curly braces removed ([-h|--help]).

Style guide improvements

If you are a contributor to the tldr pages, do check out the style guide.
We have made several improvements and restructuring to it such as standardizing keypress notation, adding instructions for disambiguation and grouping pages, instructing to avoid using = in option arguments whenever possible, example.com clarification, and much more.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4