multiple pages: Use snake_case in token syntax (#4788)

This commit is contained in:
Guido Lena Cota
2020-11-01 14:40:05 +01:00
committed by GitHub
parent 2a9b42076e
commit 0bb9c353a7
19 changed files with 34 additions and 34 deletions

View File

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

View File

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

View File

@@ -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: <https://git-scm.com/docs/git-ls-remote.html>.
- 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}}"`

View File

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

View File

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

View File

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

View File

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

View File

@@ -20,4 +20,4 @@
- Search for manpages containing a search string:
`man -k "{{search string}}"`
`man -k "{{search_string}}"`

View File

@@ -4,4 +4,4 @@
- Run process that can live beyond the terminal:
`nohup {{command options}}`
`nohup {{command}} {{command_options}}`

View File

@@ -5,4 +5,4 @@
- Show why an npm package is installed:
`npm-why {{package-name}}`
`npm-why {{package_name}}`

View File

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

View File

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

View File

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