style-guide.md: refresh page (#9709)

* Restrict alternatvie count to 5

* Enhance grammar
pull/3/head
Emily Grace Seville 2023-01-06 22:51:40 +10:00 committed by GitHub
parent 14a20a3f86
commit 0239f5de94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ All borders of integer and float ranges get included. If you want to exclude the
and use the `{{/dev/sdXY}}` placeholder for *block devices* instead of `/dev/sda1`. and use the `{{/dev/sdXY}}` placeholder for *block devices* instead of `/dev/sda1`.
- If a command can take a variable number of arguments, use an ellipsis: `{{arg1 arg2 ...}}`. - If a command can take a variable number of arguments, use an ellipsis: `{{arg1 arg2 ...}}`.
If one of the multiple options is possible, write it as `{{either|or}}`. If one of the multiple options is possible, write it as `{{either|or}}`.
If there are more than 5 alternatives, use `|...` for the ellipsis.
In general, placeholders should make it as intuitive as possible In general, placeholders should make it as intuitive as possible
to figure out how to use the command and fill it in with values. to figure out how to use the command and fill it in with values.