Skip to content

Commit

Permalink
Client spec: Drop the special "all" platform
Browse files Browse the repository at this point in the history
If a client wants to list all pages, something like a `--list-all`
command is the better approach.

See discussion in #7528 and #7561.
  • Loading branch information
dbrgn committed Dec 28, 2021
1 parent 6cc93f4 commit 84745dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CLIENT-SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Option | Required? | Meaning
`-v`, `--version` | Yes | Shows the current version of the client, and the version of this specification that it implements.
`-p`, `--platform` | Yes | Specifies the platform to be used to perform the action (either listing or searching) as an argument. 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.
`-l`, `--list` | No | Lists all the pages in the current platform to the standard output.
`-L`, `--language` | No | Specifies the preferred language for the page returned. Overrides other language detection mechanisms. See the [language section](#language) for more information.

Clients MAY choose to only implement the short version of an option, ignoring the long form.
Expand Down

0 comments on commit 84745dd

Please sign in to comment.