1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

*: fix style guide issues part 1 (#15776)

This commit is contained in:
Managor 2025-03-07 13:48:24 +02:00 committed by GitHub
parent 320d209c78
commit db83966650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 31 additions and 31 deletions

View file

@ -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}}`

View file

@ -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}}`

View file

@ -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}}`

View file

@ -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é:

View file

@ -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}}`

View file

@ -13,7 +13,7 @@
- 최신 버전의 패키지를 다운로드하고 `package.json`의 개발 의존성 목록에 추가:
`npm install {{패키지_이름}} {{-D|--save-dev}}`
`npm install {{패키지_이름}} {{[-D|--save-dev]}}`
- 최신 버전의 패키지를 다운로드하고 전역으로 설치:

View file

@ -21,4 +21,4 @@
- 특정 프로그램의 마지막 코어 덤프를 파일로 추출:
`coredumpctl --output={{경로/대상/파일}} dump {{프로그램}}`
`coredumpctl --output {{경로/대상/파일}} dump {{프로그램}}`

View file

@ -9,8 +9,8 @@
- CPU, 메모리, 디스크, 네트워크 및 프로세스의 전체 설명 출력:
`inxi -Fz`
`inxi {{[-ez|--expanded --filter]}}`
- 배포판 저장소 정보 출력:
`inxi -r`
`inxi {{[-r|--repos]}}`

View file

@ -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}}`

View file

@ -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:

View file

@ -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}}`

View file

@ -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}}`

View file

@ -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:

View file

@ -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"`

View file

@ -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:

View file

@ -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]}}`

View file

@ -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]}} ""`

View file

@ -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:

View file

@ -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: