From 0bb9c353a717513283f8cda8493e5370ca47219a Mon Sep 17 00:00:00 2001 From: Guido Lena Cota Date: Sun, 1 Nov 2020 14:40:05 +0100 Subject: [PATCH] multiple pages: Use snake_case in token syntax (#4788) --- pages.ko/common/dexter.md | 4 ++-- pages.pl/common/aws.md | 2 +- pages.pt_BR/common/man.md | 2 +- pages.pt_BR/linux/apk.md | 2 +- pages/common/aws.md | 2 +- pages/common/dexter.md | 4 ++-- pages/common/git-ls-remote.md | 10 +++++----- pages/common/git-send-email.md | 4 ++-- pages/common/kind.md | 4 ++-- pages/common/lpr.md | 4 ++-- pages/common/mail.md | 4 ++-- pages/common/man.md | 2 +- pages/common/nohup.md | 2 +- pages/common/npm-why.md | 2 +- pages/common/svn.md | 2 +- pages/common/tb.md | 4 ++-- pages/common/xmlto.md | 2 +- pages/osx/icalbuddy.md | 4 ++-- pages/windows/azcopy.md | 8 ++++---- 19 files changed, 34 insertions(+), 34 deletions(-) diff --git a/pages.ko/common/dexter.md b/pages.ko/common/dexter.md index 8eda2aedc7..ca6d848a51 100644 --- a/pages.ko/common/dexter.md +++ b/pages.ko/common/dexter.md @@ -5,9 +5,9 @@ - Google OIDC로 사용자 생성 및 인증: -`dexter auth -i {{클라이언트-아이디}} -s {{클라이언트-secret}}` +`dexter auth -i {{클라이언트_아이디}} -s {{클라이언트_secret}}` - 기본 kube 구성파일 위치 재정의: -`dexter auth -i {{클라이언트-아이디}} -s {{클라이언트-secret}} --kube-config {{예시/구성파일}}` +`dexter auth -i {{클라이언트_아이디}} -s {{클라이언트_secret}} --kube-config {{예시/구성파일}}` diff --git a/pages.pl/common/aws.md b/pages.pl/common/aws.md index fc66d1eba7..7832897661 100644 --- a/pages.pl/common/aws.md +++ b/pages.pl/common/aws.md @@ -30,7 +30,7 @@ - Uzyskaj interaktywnego kreatora dla zasobu AWS: -`aws dynamodb wizard {{nowa-tabela}}` +`aws dynamodb wizard {{nowa_tabela}}` - Generuj JSON CLI Skeleton (przydatne dla infrastruktury jako kodu): diff --git a/pages.pt_BR/common/man.md b/pages.pt_BR/common/man.md index bde0574f44..dd14e0ec94 100644 --- a/pages.pt_BR/common/man.md +++ b/pages.pt_BR/common/man.md @@ -20,4 +20,4 @@ - Procurar manuais contendo um termo de pesquisa: -`man -k "{{termo de pesquisa}}"` +`man -k "{{termo_de_pesquisa}}"` diff --git a/pages.pt_BR/linux/apk.md b/pages.pt_BR/linux/apk.md index 8254f7015c..7a22c32c53 100644 --- a/pages.pt_BR/linux/apk.md +++ b/pages.pt_BR/linux/apk.md @@ -20,7 +20,7 @@ - Procurar um pacote especificando alguma palavra-chave: -`apk search {{palavra-chave}}` +`apk search {{palavra_chave}}` - Exibir informações sobre um pacote: diff --git a/pages/common/aws.md b/pages/common/aws.md index 12121005f0..b0b2decc39 100644 --- a/pages/common/aws.md +++ b/pages/common/aws.md @@ -30,7 +30,7 @@ - Get an interactive wizard for an AWS resource: -`aws dynamodb wizard {{new-table}}` +`aws dynamodb wizard {{new_table}}` - Generate a JSON CLI Skeleton (useful for infrastructure as code): diff --git a/pages/common/dexter.md b/pages/common/dexter.md index 4d3904aefc..b424f0021e 100644 --- a/pages/common/dexter.md +++ b/pages/common/dexter.md @@ -5,8 +5,8 @@ - Create and authenticate a user with Google OIDC: -`dexter auth -i {{client-id}} -s {{client-secret}}` +`dexter auth -i {{client_id}} -s {{client_secret}}` - Override the default kube config location: -`dexter auth -i {{client-id}} -s {{client-secret}} --kube-config {{sample/config}}` +`dexter auth -i {{client_id}} -s {{client_secret}} --kube-config {{sample/config}}` diff --git a/pages/common/git-ls-remote.md b/pages/common/git-ls-remote.md index 66031c88f3..2e558e29af 100644 --- a/pages/common/git-ls-remote.md +++ b/pages/common/git-ls-remote.md @@ -4,7 +4,7 @@ > If no name or URL are given, then the configured upstream branch will be used, or remote origin if the former is not configured. > More information: . -- Show all references in the default remote repositoiory: +- Show all references in the default remote repository: `git ls-remote` @@ -16,10 +16,10 @@ `git ls-remote --tags` -- Show all references from a remote repositiory based on name or url: +- Show all references from a remote repository based on name or url: -`git ls-remote {{repositiory-url}}` +`git ls-remote {{repository_url}}` -- Show references from a remote repositiory filtered by a pattern: +- Show references from a remote repository filtered by a pattern: -`git ls-remote {{repositiory-name}} "{{pattern}}"` +`git ls-remote {{repository_name}} "{{pattern}}"` diff --git a/pages/common/git-send-email.md b/pages/common/git-send-email.md index f0a4605845..d550b506df 100644 --- a/pages/common/git-send-email.md +++ b/pages/common/git-send-email.md @@ -18,8 +18,8 @@ - Send an introductory email message for the patch series: -`git send-email -{{number of commits}} --compose` +`git send-email -{{number_of_commits}} --compose` - Review and edit the email message for each patch you're about to send: -`git send-email -{{number of commits}} --annotate` +`git send-email -{{number_of_commits}} --annotate` diff --git a/pages/common/kind.md b/pages/common/kind.md index 9ade67feae..d0c9e04f36 100644 --- a/pages/common/kind.md +++ b/pages/common/kind.md @@ -6,11 +6,11 @@ - Create a local Kubernetes cluster: -`kind create cluster --name {{cluster-name}}` +`kind create cluster --name {{cluster_name}}` - Delete one or more clusters: -`kind delete clusters {{cluster-name}}` +`kind delete clusters {{cluster_name}}` - Get details about clusters, nodes, or the kubeconfig: diff --git a/pages/common/lpr.md b/pages/common/lpr.md index 1656eda0f0..da1f794655 100644 --- a/pages/common/lpr.md +++ b/pages/common/lpr.md @@ -18,11 +18,11 @@ - Print double sided in portrait: -`lpr -o sides={{two-sided-long-edge}} {{path/to/file}}` +`lpr -o sides={{two_sided_long_edge}} {{path/to/file}}` - Print double sided in landscape: -`lpr -o sides={{two-sided-short-edge}} {{path/to/file}}` +`lpr -o sides={{two_sided_long_edge}} {{path/to/file}}` - Set page size (more options may be available depending on setup): diff --git a/pages/common/mail.md b/pages/common/mail.md index fcd97a3eac..18ab72c893 100644 --- a/pages/common/mail.md +++ b/pages/common/mail.md @@ -3,7 +3,7 @@ > The command operates on the user's mailbox if no argument is given. > To send an email the message body is built from standard input. -- Send a typed email message. The commandline below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multi-line). Press "Ctrl-D" key to complete the message text: +- Send a typed email message. The command line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multi-line). Press "Ctrl-D" key to complete the message text: `mail --subject="{{subject line}}" {{to_user@example.com}}` @@ -13,4 +13,4 @@ - Send a tar.gz file as an attachment: -`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject="{{subject line}}" {{to_user@example.com}}` +`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject="{{subject_line}}" {{to_user@example.com}}` diff --git a/pages/common/man.md b/pages/common/man.md index e7a31279e3..77c4b47907 100644 --- a/pages/common/man.md +++ b/pages/common/man.md @@ -20,4 +20,4 @@ - Search for manpages containing a search string: -`man -k "{{search string}}"` +`man -k "{{search_string}}"` diff --git a/pages/common/nohup.md b/pages/common/nohup.md index ac1f849cf5..560b819996 100644 --- a/pages/common/nohup.md +++ b/pages/common/nohup.md @@ -4,4 +4,4 @@ - Run process that can live beyond the terminal: -`nohup {{command options}}` +`nohup {{command}} {{command_options}}` diff --git a/pages/common/npm-why.md b/pages/common/npm-why.md index dedc241f65..2d655fa3ca 100644 --- a/pages/common/npm-why.md +++ b/pages/common/npm-why.md @@ -5,4 +5,4 @@ - Show why an npm package is installed: -`npm-why {{package-name}}` +`npm-why {{package_name}}` diff --git a/pages/common/svn.md b/pages/common/svn.md index f1d555d0d4..b7f90a7e4f 100644 --- a/pages/common/svn.md +++ b/pages/common/svn.md @@ -17,7 +17,7 @@ - Send changes from your working copy to the repository: -`svn ci -m {{commit log message}} [{{PATH}}]` +`svn ci -m {{commit_log_message}} [{{PATH}}]` - Display changes from the last 10 revisions, showing modified files for each revision: diff --git a/pages/common/tb.md b/pages/common/tb.md index e66fd7884b..e0dbee4e0b 100644 --- a/pages/common/tb.md +++ b/pages/common/tb.md @@ -5,11 +5,11 @@ - Add a new task to a board: -`tb --task {{task description}} @{{board_name}}` +`tb --task {{task_description}} @{{board_name}}` - Add a new note to a board: -`tb --note {{note description}} @{{board_name}}` +`tb --note {{note_description}} @{{board_name}}` - Edit item's priority: diff --git a/pages/common/xmlto.md b/pages/common/xmlto.md index bed1b8213f..834e8573a8 100644 --- a/pages/common/xmlto.md +++ b/pages/common/xmlto.md @@ -17,4 +17,4 @@ - Specify a stylesheet to use while converting a DocBook XML document: -`xmlto -x {{stylesheet.xsl}} {{output-format}} {{document.xml}}` +`xmlto -x {{stylesheet.xsl}} {{output_format}} {{document.xml}}` diff --git a/pages/osx/icalbuddy.md b/pages/osx/icalbuddy.md index 3335d318e1..03ba88c0a7 100644 --- a/pages/osx/icalbuddy.md +++ b/pages/osx/icalbuddy.md @@ -11,7 +11,7 @@ `icalBuddy uncompletedTasks` -- Show a formated list separated by calendar for all events today: +- Show a formatted list separated by calendar for all events today: `icalBuddy -f -sc eventsToday` @@ -21,4 +21,4 @@ - Show events in a time range: -`icalBuddy eventsFrom:'{{start date}}' to:'{{end date}}'` +`icalBuddy eventsFrom:'{{start_date}}' to:'{{end_date}}'` diff --git a/pages/windows/azcopy.md b/pages/windows/azcopy.md index 685ffe124a..e51b384b66 100644 --- a/pages/windows/azcopy.md +++ b/pages/windows/azcopy.md @@ -9,19 +9,19 @@ - Upload a local file: -`azcopy copy '{{path/to/source/file}}' 'https://{{storage-account-name}}.blob.core.windows.net/{{container-name}}/{{blob-name}}'` +`azcopy copy '{{path/to/source/file}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}/{{blob_name}}'` - Upload files with `.txt` and `.jpg` extensions: -`azcopy copy '{{path/to/source}}' 'https://{{storage-account-name}}.blob.core.windows.net/{{container-name}}' --include-pattern '{{*.txt;*.jpg}}'` +`azcopy copy '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --include-pattern '{{*.txt;*.jpg}}'` - Copy a container directly between two Azure storage accounts: -`azcopy copy 'https://{{source-storage-account-name}}.blob.core.windows.net/{{container-name}}' 'https://{{destination-storage-account-name}}.blob.core.windows.net/{{container-name}}'` +`azcopy copy 'https://{{source_storage_account_name}}.blob.core.windows.net/{{container_name}}' 'https://{{destination_storage_account_name}}.blob.core.windows.net/{{container_name}}'` - Synchronize a local directory and delete files in the destination if they no longer exist in the source: -`azcopy sync '{{path/to/source}}' 'https://{{storage-account-name}}.blob.core.windows.net/{{container-name}}' --recursive --delete-destination=true` +`azcopy sync '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true` - Display detailed usage information: