From 617bae7d1601bb2f5c2a931570c3a13738828492 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:28:51 +0300 Subject: [PATCH] style-guide: give instructions on sudo usage (#17087) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- contributing-guides/style-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contributing-guides/style-guide.md b/contributing-guides/style-guide.md index 664f1d8eb6..d41f57d007 100644 --- a/contributing-guides/style-guide.md +++ b/contributing-guides/style-guide.md @@ -313,6 +313,8 @@ Use backticks on the following: When describing keycaps or a keyboard shortcut for a utility, use the same [keypress syntax](#keypress-syntax) as in example commands. Make sure to enclose it in backticks so that it is not invisible in markdown renderers (i.e. ``Print the last lines of a given file and keep reading it until ``:``). +If a program requires root privileges to run and doesn't provide its own prompt for a password, prepend the command with `sudo` (e.g. `sudo apt update`). + ## Heading ### Program description