From f9606bbcc5b2794504f6457e259263b4dd23ab05 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Tue, 12 Dec 2023 05:33:35 +0100 Subject: [PATCH] style-guide: modify grouping placeholders section (#11723) --- contributing-guides/style-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing-guides/style-guide.md b/contributing-guides/style-guide.md index 31602bee9..78efb49b1 100644 --- a/contributing-guides/style-guide.md +++ b/contributing-guides/style-guide.md @@ -263,7 +263,7 @@ Keep the following guidelines in mind when choosing placeholders: - If a command can take 0 or more arguments of the same kind, use an ellipsis: `{{placeholder1 placeholder2 ...}}`. For instance, if multiple paths are expected `{{path/to/directory1 path/to/directory2 ...}}` can be used. - If a command can take 0 or more arguments of different kinds, use an ellipsis: `{{placeholder1|placeholder2|...}}`. - If there are more than 5 possible values use `|...` after the last item. + If there are more than 5 possible values, you can use `|...` after the last item. - It's impossible to restrict the minimum or (and) maximum placeholder count via `ellipsis`. It's up to the program to decide how to handle duplicating values, provided syntax