mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
*: fix typos in command names (#11730)
* *: fix typos in command names * command name fixes in other languages * fix incorrectly translated commands * change incorrect file name * qm move disk alias pages --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
f1be2745a7
commit
9d383ade68
18 changed files with 43 additions and 20 deletions
|
@ -1,4 +1,4 @@
|
||||||
# apt
|
# apt-get
|
||||||
|
|
||||||
> أداة إدارة الحزم لديبيان وأوبونتو.
|
> أداة إدارة الحزم لديبيان وأوبونتو.
|
||||||
> ابحث عن الحزم باستخدام `apt-cache`.
|
> ابحث عن الحزم باستخدام `apt-cache`.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# gplusplus
|
# g++
|
||||||
|
|
||||||
> Kompiliere C++ Quelldateien.
|
> Kompiliere C++ Quelldateien.
|
||||||
> Teil der GCC (GNU Compiler Collection).
|
> Teil der GCC (GNU Compiler Collection).
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# cortar
|
# cut
|
||||||
|
|
||||||
> Cortar campos sean `stdin` o archivos.
|
> Cortar campos sean `stdin` o archivos.
|
||||||
> Más información: <https://manned.org/man/freebsd-13.0/cut.1>.
|
> Más información: <https://manned.org/man/freebsd-13.0/cut.1>.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Compartir Internet
|
# InternetSharing
|
||||||
|
|
||||||
> Configura Internet Sharing.
|
> Configura Internet Sharing.
|
||||||
> No debe invocarse manualmente.
|
> No debe invocarse manualmente.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# iwr
|
# sl
|
||||||
|
|
||||||
> Perintah ini merupakan alias dari `Set-Location` di PowerShell.
|
> Perintah ini merupakan alias dari `Set-Location` di PowerShell.
|
||||||
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.
|
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Bugreport
|
# bugreportz
|
||||||
|
|
||||||
> जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्।
|
> जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्।
|
||||||
> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ।
|
> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ।
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# gplusplus
|
# g++
|
||||||
|
|
||||||
> Compila arquivos de código fonte C++.
|
> Compila arquivos de código fonte C++.
|
||||||
> Parte do GCC (GNU Compiler Collection).
|
> Parte do GCC (GNU Compiler Collection).
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# arecored
|
# arecord
|
||||||
|
|
||||||
> ALSA 声卡驱动的声音录制器。
|
> ALSA 声卡驱动的声音录制器。
|
||||||
> 更多信息:<https://manned.org/arecord>.
|
> 更多信息:<https://manned.org/arecord>.
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# gemtopbm
|
# gemtopnm
|
||||||
|
|
||||||
> Convert a GEM image file into a PNM image.
|
> Convert a GEM image file into a PNM image.
|
||||||
> More information: <https://netpbm.sourceforge.net/doc/gemtopnm.html>.
|
> More information: <https://netpbm.sourceforge.net/doc/gemtopnm.html>.
|
||||||
|
|
||||||
- Convert a GEM image file to a PNM image:
|
- Convert a GEM image file to a PNM image:
|
||||||
|
|
||||||
`gemtopbm {{path/to/file.img}} > {{path/to/output.pbm}}`
|
`gemtopnm {{path/to/file.img}} > {{path/to/output.pnm}}`
|
||||||
|
|
||||||
- Describe the contents of the specified GEM image:
|
- Describe the contents of the specified GEM image:
|
||||||
|
|
||||||
`gemtopbm -d {{path/to/file.img}}`
|
`gemtopnm -d {{path/to/file.img}}`
|
||||||
|
|
||||||
- Display version:
|
- Display version:
|
||||||
|
|
||||||
`gemtopbm -version`
|
`gemtopnm -version`
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# kubectl edit
|
# kubectl expose
|
||||||
|
|
||||||
> Expose a resource as a new Kubernetes service.
|
> Expose a resource as a new Kubernetes service.
|
||||||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#expose>.
|
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#expose>.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# kubectl edit
|
# kubectl label
|
||||||
|
|
||||||
> Edit Kubernetes resources.
|
> Label Kubernetes resources.
|
||||||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#label>.
|
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#label>.
|
||||||
|
|
||||||
- Label a pod:
|
- Label a pod:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# kubectl edit
|
# kubectl scale
|
||||||
|
|
||||||
> Set a new size for a deployment, replica set, replication controller, or stateful set.
|
> Set a new size for a deployment, replica set, replication controller, or stateful set.
|
||||||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale>.
|
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale>.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# tldr platform
|
# tlmgr platform
|
||||||
|
|
||||||
> Manage TeX Live platforms.
|
> Manage TeX Live platforms.
|
||||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# qm move_disk
|
# qm move disk
|
||||||
|
|
||||||
> This command and `qm move-disk` is an alias of `qm disk move`.
|
> This command is an alias of `qm disk move`.
|
||||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||||
|
|
||||||
- View documentation for the original command:
|
- View documentation for the original command:
|
||||||
|
|
||||||
`tldr qm-disk-move`
|
`tldr qm disk move`
|
||||||
|
|
8
pages/linux/qm-move_disk.md
Normal file
8
pages/linux/qm-move_disk.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# qm move disk
|
||||||
|
|
||||||
|
> This command is an alias of `qm disk move`.
|
||||||
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr qm disk move`
|
15
scripts/wrong-filename.sh
Executable file
15
scripts/wrong-filename.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
for path in $(find . -name '*.md' -type f); do
|
||||||
|
COMMAND_NAME_FILE=$(basename "$path" | head -c-4 | tr '-' ' ' | tr '[:upper:]' '[:lower:]')
|
||||||
|
COMMAND_NAME_PAGE=$(head -n1 "$path" | tail -c+3 | tr '-' ' ' | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [ "$COMMAND_NAME_FILE" != "$COMMAND_NAME_PAGE" ]; then
|
||||||
|
echo "$path"
|
||||||
|
echo "$COMMAND_NAME_FILE"
|
||||||
|
echo "$COMMAND_NAME_PAGE"
|
||||||
|
echo "\n\n"
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Add table
Reference in a new issue