Skip to content

Commit

Permalink
Client spec: Introduce --list-all as replacement for "all" platform
Browse files Browse the repository at this point in the history
This is the cleaner approach, and it's easier to implement by the
clients. It also avoids ambiguities in behavior in combination with
other subcommands, see discussion in #7528.
  • Loading branch information
dbrgn committed Dec 19, 2021
1 parent 6cc93f4 commit 200fcc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CLIENT-SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ 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.
`--list-all` | No | Lists all the pages in all platforms 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 200fcc7

Please # to comment.