From a03488d7b5b9bb246cddb225a66146b09b51c406 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:52:07 +0200 Subject: [PATCH] style-guide: etc is not a command (#15808) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- 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 375eb28159..70225c3d74 100644 --- a/contributing-guides/style-guide.md +++ b/contributing-guides/style-guide.md @@ -411,7 +411,7 @@ For example, `[d]ownload` in English may be translated into `[d]escargar` in Spa ### Option syntax -- For commonly/frequently used commands (e.g. `grep`, `tar`, `etc`), we prefer using short options along with [mnemonics](#short-option-mnemonics) or both inside a placeholder. +- For commonly/frequently used commands (e.g. `grep`, `tar`, etc.), we prefer using short options along with [mnemonics](#short-option-mnemonics) or both inside a placeholder. - For letting the client decide whether to show long or short options in commands, use an option placeholder i.e. `{{[-o|--output]}}`. - For user-friendliness, use **GNU-style long options** (like `--help` rather than `-h`) when they are cross-platform compatible (intended to work the same across multiple platforms) for pages in the `common` directory. - Prefer using a space instead of the equals sign (`=`) to separate options from their arguments (i.e. use `--opt arg` instead of `--opt=arg`), unless the program does not support it.