1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

client spec: reorder args table

This commit is contained in:
Starbeamrainbowlabs 2019-02-19 18:57:46 +00:00
parent b0142493c8
commit cfd2839f97

View file

@ -31,9 +31,9 @@ A number of arguments MUST be supported (unless otherwise specified) if a CLI is
Argument | Required? | Meaning
--------------------|--------------------|--------------------
`-v`, `--version` | Yes | Shows the current version of the client, and the version of this specification that it implements.
`-l`, `--list` | No | Lists all the pages in the current platform to the standard output. If the special platform `all` is specified a list of all pages in all platforms MUST be displayed.
`-p`, `--platform` | Yes | Specifies the platform to be used to perform the action (either listing or searching). If this option is specified, the selected platform MUST be checked first instead of the current platform as described below.
`-u`, `--update` | Conditional | Updates the offline cache of pages. MUST be implemented if cache is supported.
`-l`, `--list` | No | Lists all the pages in the current platform to the standard output. If the special platform `all` is specified a list of all pages in all platforms MUST be displayed.
Clients MAY NOT implement the long form of an argument (`--update`, `--version`, `--list`, `--platform`).