ソースを参照

fixup: token string style (#1081)

- use underscore rather than minus
- use lower case rather than uppder case
Te-Chi Liu 8 年 前
コミット
5a54763c72

+ 2 - 2
pages/common/calibredb.md

@@ -9,11 +9,11 @@
 
 - Search for ebooks displaying additional information:
 
-`calibredb list --search {{search-term}}`
+`calibredb list --search {{search_term}}`
 
 - Search for just ids of ebooks:
 
-`calibredb search {{search term}}`
+`calibredb search {{search_term}}`
 
 - Add one or more ebooks to the library:
 

+ 2 - 2
pages/common/git-checkout.md

@@ -4,11 +4,11 @@
 
 - Switch to another branch:
 
-`git checkout {{BRANCH-NAME}}`
+`git checkout {{branch_name}}`
 
 - Create and switch to a new branch:
 
-`git checkout -b {{BRANCH-NAME}}`
+`git checkout -b {{branch_name}}`
 
 - Undo unstaged local modification:
 

+ 2 - 2
pages/common/git-clone.md

@@ -4,7 +4,7 @@
 
 - Clone an existing repository:
 
-`git clone {{REMOTE-REPOSITORY-LOCATION}}`
+`git clone {{remote_repository_location}}`
 
 - For cloning from the local machine:
 
@@ -16,4 +16,4 @@
 
 - Clone an existing repository, and truncate to the specified number of revisions, save your time mostly:
 
-`git clone --depth 10 {{REMOTE-REPOSITORY-LOCATION}}`
+`git clone --depth 10 {{remote_repository_location}}`

+ 1 - 1
pages/common/git-commit.md

@@ -4,7 +4,7 @@
 
 - Commit staged files to the repository with comment:
 
-`git commit -m {{MESSAGE}}`
+`git commit -m {{message}}`
 
 - Replace the last commit with currently staged changes:
 

+ 2 - 2
pages/common/git-merge.md

@@ -4,8 +4,8 @@
 
 - Merge a branch with your current branch:
 
-`git merge {{BRANCH-NAME}}`
+`git merge {{branch_name}}`
 
 - Edit the merge message:
 
-`git merge -e {{BRANCH-NAME}}`
+`git merge -e {{branch_name}}`

+ 4 - 4
pages/common/git-push.md

@@ -4,19 +4,19 @@
 
 - Publish local changes on a remote branch:
 
-`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}`
+`git push {{remote_name}} {{local_branch}}`
 
 - Publish local changes on a remote branch of different name:
 
-`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}:{{REMOTE-BRANCH}}`
+`git push {{remote_name}} {{local_branch}}:{{remote_branch}}`
 
 - Remove remote branch:
 
-`git push {{REMOTE-NAME}} :{{REMOTE-BRANCH}}`
+`git push {{remote_name}} :{{remote_branch}}`
 
 - Remove remote branches which don't exist locally:
 
-`git push --prune {{REMOTE-NAME}}`
+`git push --prune {{remote_name}}`
 
 - Publish tags:
 

+ 1 - 1
pages/common/git-submodule.md

@@ -8,7 +8,7 @@
 
 - Add a git repository as a submodule:
 
-`git submodule add {{repository-url}}`
+`git submodule add {{repository_url}}`
 
 - Update every submodule to its latest commit:
 

+ 2 - 2
pages/common/git.md

@@ -12,8 +12,8 @@
 
 - Call help on a command:
 
-`git help {{COMMAND}}`
+`git help {{command}}`
 
 - Execute Git command:
 
-`git {{COMMAND}}`
+`git {{command}}`

+ 1 - 1
pages/common/mp4box.md

@@ -8,7 +8,7 @@
 
 - Add an SRT subtitle file into an MP4 file:
 
-`MP4Box -add {{input-subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
+`MP4Box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
 
 - Combine audio from one file and video from another:
 

+ 1 - 1
pages/common/qemu.md

@@ -13,7 +13,7 @@
 
 - Boot QEMU instance with a live ISO image:
 
-`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os-image.iso}} -boot d`
+`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d`
 
 - Specify amount of RAM for instance: