From db839666503e90a3781606e858f708991c604f6d Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 7 Mar 2025 13:48:24 +0200 Subject: [PATCH] *: fix style guide issues part 1 (#15776) --- pages.ca/linux/coredumpctl.md | 2 +- pages.es/common/mariadb-install-db.md | 2 +- pages.es/linux/coredumpctl.md | 2 +- pages.es/linux/fadvise.md | 2 +- pages.ko/common/git-maintenance.md | 2 +- pages.ko/common/npm-install.md | 2 +- pages.ko/linux/coredumpctl.md | 2 +- pages.ko/linux/inxi.md | 4 ++-- pages.pl/linux/coredumpctl.md | 2 +- pages.pl/linux/loginctl.md | 2 +- pages/common/git-maintenance.md | 4 ++-- pages/common/mariadb-install-db.md | 2 +- pages/common/npm-install.md | 2 +- pages/linux/coredumpctl.md | 4 ++-- pages/linux/fadvise.md | 2 +- pages/linux/inxi.md | 14 +++++++------- pages/linux/kwallet-query.md | 6 +++--- pages/linux/loginctl.md | 2 +- pages/linux/lsfd.md | 4 ++-- 19 files changed, 31 insertions(+), 31 deletions(-) diff --git a/pages.ca/linux/coredumpctl.md b/pages.ca/linux/coredumpctl.md index 6333c7a8d7..d5b079a7bf 100644 --- a/pages.ca/linux/coredumpctl.md +++ b/pages.ca/linux/coredumpctl.md @@ -21,4 +21,4 @@ - Extreu l'últim volcat de memòria a un fitxer: -`coredumpctl --output={{ruta/al/arxiu}} dump {{programa}}` +`coredumpctl --output {{ruta/al/arxiu}} dump {{programa}}` diff --git a/pages.es/common/mariadb-install-db.md b/pages.es/common/mariadb-install-db.md index 6494792090..bc7432cd46 100644 --- a/pages.es/common/mariadb-install-db.md +++ b/pages.es/common/mariadb-install-db.md @@ -5,4 +5,4 @@ - Inicializa una base de datos: -`mariadb-install-db --user={{usuario}}} --basedir={{/usr}} --datadir={{var/lib/mysql}}` +`sudo mariadb-install-db --user {{usuario}} --basedir {{/usr}} --datadir {{var/lib/mysql}}` diff --git a/pages.es/linux/coredumpctl.md b/pages.es/linux/coredumpctl.md index 93d3662b8d..9dfd46b1ba 100644 --- a/pages.es/linux/coredumpctl.md +++ b/pages.es/linux/coredumpctl.md @@ -21,4 +21,4 @@ - Extrae el último volcado de memoria a un fichero: -`coredumpctl --output={{ruta/al/archivo}} dump {{programa}}` +`coredumpctl --output {{ruta/al/archivo}} dump {{programa}}` diff --git a/pages.es/linux/fadvise.md b/pages.es/linux/fadvise.md index e6e6646cbf..afb3e73a38 100644 --- a/pages.es/linux/fadvise.md +++ b/pages.es/linux/fadvise.md @@ -5,7 +5,7 @@ - Precarga un archivo en la caché: -`fadvise {{-a|--advice}} willneed {{ruta/al/archivo}}` +`fadvise {{[-a|--advice]}} willneed {{ruta/al/archivo}}` - Sugiere eliminar un archivo de la caché: diff --git a/pages.ko/common/git-maintenance.md b/pages.ko/common/git-maintenance.md index 2cfecf21b9..f6922f2400 100644 --- a/pages.ko/common/git-maintenance.md +++ b/pages.ko/common/git-maintenance.md @@ -21,4 +21,4 @@ - 현재 저장소에서 특정 유지 관리 작업 실행: -`git maintenance run --task={{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` +`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` diff --git a/pages.ko/common/npm-install.md b/pages.ko/common/npm-install.md index 1e92975c49..f5346f5242 100644 --- a/pages.ko/common/npm-install.md +++ b/pages.ko/common/npm-install.md @@ -13,7 +13,7 @@ - 최신 버전의 패키지를 다운로드하고 `package.json`의 개발 의존성 목록에 추가: -`npm install {{패키지_이름}} {{-D|--save-dev}}` +`npm install {{패키지_이름}} {{[-D|--save-dev]}}` - 최신 버전의 패키지를 다운로드하고 전역으로 설치: diff --git a/pages.ko/linux/coredumpctl.md b/pages.ko/linux/coredumpctl.md index be450a7796..4260176654 100644 --- a/pages.ko/linux/coredumpctl.md +++ b/pages.ko/linux/coredumpctl.md @@ -21,4 +21,4 @@ - 특정 프로그램의 마지막 코어 덤프를 파일로 추출: -`coredumpctl --output={{경로/대상/파일}} dump {{프로그램}}` +`coredumpctl --output {{경로/대상/파일}} dump {{프로그램}}` diff --git a/pages.ko/linux/inxi.md b/pages.ko/linux/inxi.md index b450d851e0..6f9b83b86f 100644 --- a/pages.ko/linux/inxi.md +++ b/pages.ko/linux/inxi.md @@ -9,8 +9,8 @@ - CPU, 메모리, 디스크, 네트워크 및 프로세스의 전체 설명 출력: -`inxi -Fz` +`inxi {{[-ez|--expanded --filter]}}` - 배포판 저장소 정보 출력: -`inxi -r` +`inxi {{[-r|--repos]}}` diff --git a/pages.pl/linux/coredumpctl.md b/pages.pl/linux/coredumpctl.md index 9af3531176..17d414b56e 100644 --- a/pages.pl/linux/coredumpctl.md +++ b/pages.pl/linux/coredumpctl.md @@ -21,4 +21,4 @@ - Wyodrębnij ostatni zrzut pamięci programu do pliku: -`coredumpctl --output={{ścieżka/do/pliku}} dump {{program}}` +`coredumpctl --output {{ścieżka/do/pliku}} dump {{program}}` diff --git a/pages.pl/linux/loginctl.md b/pages.pl/linux/loginctl.md index c23bee2f5c..b0e0e79f90 100644 --- a/pages.pl/linux/loginctl.md +++ b/pages.pl/linux/loginctl.md @@ -17,7 +17,7 @@ - Wyświetl podaną właściwość użytkownika: -`loginctl show-user {{nazwa_użytkownika}} --property={{nazwa_właściwości}}` +`loginctl show-user {{nazwa_użytkownika}} --property {{nazwa_właściwości}}` - Uruchom operację `loginctl` na zdalnym hoście: diff --git a/pages/common/git-maintenance.md b/pages/common/git-maintenance.md index 3ae1f5c633..eab7e1ef38 100644 --- a/pages/common/git-maintenance.md +++ b/pages/common/git-maintenance.md @@ -7,7 +7,7 @@ `git maintenance register` -- Schedule maintenance tasks on the current repository every hour: +- Schedule maintenance tasks to run on the current repository every hour: `git maintenance start` @@ -21,4 +21,4 @@ - Run a specific maintenance task on the current repository: -`git maintenance run --task={{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` +`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` diff --git a/pages/common/mariadb-install-db.md b/pages/common/mariadb-install-db.md index 1b08ec8cc8..459f0d1d3e 100644 --- a/pages/common/mariadb-install-db.md +++ b/pages/common/mariadb-install-db.md @@ -5,4 +5,4 @@ - Initialize a database: -`mariadb-install-db --user={{user}}} --basedir={{/usr}} --datadir={{/var/lib/mysql}}` +`sudo mariadb-install-db --user {{user}} --basedir {{/usr}} --datadir {{/var/lib/mysql}}` diff --git a/pages/common/npm-install.md b/pages/common/npm-install.md index 9597cfaed0..db8a1f789f 100644 --- a/pages/common/npm-install.md +++ b/pages/common/npm-install.md @@ -13,7 +13,7 @@ - Download the latest version of a package and add it to the list of dev dependencies in `package.json`: -`npm install {{package_name}} {{-D|--save-dev}}` +`npm install {{package_name}} {{[-D|--save-dev]}}` - Download the latest version of a package and install it globally: diff --git a/pages/linux/coredumpctl.md b/pages/linux/coredumpctl.md index 313b9e6d88..e45622a1be 100644 --- a/pages/linux/coredumpctl.md +++ b/pages/linux/coredumpctl.md @@ -25,8 +25,8 @@ - Extract the last core dump of a program to a file: -`coredumpctl --output={{path/to/file}} dump {{program}}` +`coredumpctl --output {{path/to/file}} dump {{program}}` - Skip debuginfod and pagination prompts and then print the backtrace when using `gdb`: -`coredumpctl debug --debugger-arguments="-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` +`coredumpctl debug --debugger-arguments "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` diff --git a/pages/linux/fadvise.md b/pages/linux/fadvise.md index 401b67ef35..2ef2dfdd62 100644 --- a/pages/linux/fadvise.md +++ b/pages/linux/fadvise.md @@ -5,7 +5,7 @@ - Preload a file into cache: -`fadvise {{-a|--advice}} willneed {{path/to/file}}` +`fadvise {{[-a|--advice]}} willneed {{path/to/file}}` - Suggest dropping a file from cache: diff --git a/pages/linux/inxi.md b/pages/linux/inxi.md index a1bfc8bf13..f944df09d1 100644 --- a/pages/linux/inxi.md +++ b/pages/linux/inxi.md @@ -9,28 +9,28 @@ - Print a full description of CPU, memory, disk, network, and process information and filter sensitive information: -`inxi --expanded --filter` +`inxi {{[-ez|--expanded --filter]}}` - Print a summary of CPU information: -`inxi --cpu` +`inxi {{[-C|--cpu]}}` - Print a summary of graphics information: -`inxi --graphics` +`inxi {{[-G|--graphics]}}` - Print a summary of system RAM: -`inxi --memory` +`inxi {{[-m|--memory]}}` - Print a summary of system audio: -`inxi --audio` +`inxi {{[-A|--audio]}}` - Print available sensor data: -`inxi --sensors` +`inxi {{[-s|--sensors]}}` - Print information about the distribution's repositories: -`inxi --repos` +`inxi {{[-r|--repos]}}` diff --git a/pages/linux/kwallet-query.md b/pages/linux/kwallet-query.md index 0bee945ca2..14a00f0a51 100644 --- a/pages/linux/kwallet-query.md +++ b/pages/linux/kwallet-query.md @@ -5,12 +5,12 @@ - List all entries in the `Passwords` folder of `kdewallet`: -`kwallet-query {{kdewallet}} {{-l|--list-entries}}` +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}}` - List all entries in a specific folder: -`kwallet-query {{kdewallet}} {{-l|--list-entries}} {{-f|--folder}} {{folder_name}}` +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} {{folder_name}}` - List all available folders: -`kwallet-query {{kdewallet}} {{-l|--list-entries}} {{-f|--folder}} ""` +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""` diff --git a/pages/linux/loginctl.md b/pages/linux/loginctl.md index ff964a8c9f..e7de520831 100644 --- a/pages/linux/loginctl.md +++ b/pages/linux/loginctl.md @@ -17,7 +17,7 @@ - Print a specific property of a user: -`loginctl show-user {{username}} --property={{property_name}}` +`loginctl show-user {{username}} --property {{property_name}}` - Execute a `loginctl` operation on a remote host: diff --git a/pages/linux/lsfd.md b/pages/linux/lsfd.md index 0508b2466a..276d6ca0e1 100644 --- a/pages/linux/lsfd.md +++ b/pages/linux/lsfd.md @@ -9,11 +9,11 @@ - List all files kept open by a specific program: -`lsfd {{-Q|--filter}} 'PID == {{process_ID}}'` +`lsfd {{[-Q|--filter]}} 'PID == {{process_ID}}'` - Check what program has a specific file open: -`lsfd {{-Q|--filter}} "NAME == '{{/path/to/file}}'"` +`lsfd {{[-Q|--filter]}} "NAME == '{{/path/to/file}}'"` - List open IPv4 or IPv6 sockets: