mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 07:15:30 +02:00
*: fix repeating syntax (#17282)
This commit is contained in:
parent
c5210d9d7c
commit
46896e29f6
18 changed files with 22 additions and 22 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
- Download the same file from different mirrors and verify the checksum of the downloaded file:
|
||||
|
||||
`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
`aria2c --checksum {{sha-256}}={{hash}} {{"url1" "url2" ...}}`
|
||||
|
||||
- Download the URIs listed in a file with a specific number of parallel downloads:
|
||||
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Lint using the specified configuration file:
|
||||
|
||||
`eslint {{[-c|--config]}} {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}`
|
||||
`eslint {{[-c|--config]}} {{path/to/config_file}} {{path/to/file1.js path/to/file2.js ...}}`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Launch a Git daemon with a whitelisted set of directories:
|
||||
|
||||
`git daemon --export-all {{path/to/directory1}} {{path/to/directory2}}`
|
||||
`git daemon --export-all {{path/to/directory1 path/to/directory2 ...}}`
|
||||
|
||||
- Launch a Git daemon with a specific base directory and allow pulling from all sub-directories that look like Git repositories:
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Run all given test files:
|
||||
|
||||
`hardhat test {{path/to/file1.js}} {{path/to/file2.js}}`
|
||||
`hardhat test {{path/to/file1.js path/to/file2.js ...}}`
|
||||
|
||||
- Start a local Ethereum JSON-RPC node for development:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Search multiple directories:
|
||||
|
||||
`jdupes {{directory1}} {{directory2}}`
|
||||
`jdupes {{directory1 directory2 ...}}`
|
||||
|
||||
- Search all directories recursively:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Send an email with files attached:
|
||||
|
||||
`mutt -a {{file1}} {{file2}} -- {{recipient@example.com}}`
|
||||
`mutt -a {{file1 file2 ...}} -- {{recipient@example.com}}`
|
||||
|
||||
- Specify a file to include as the message body:
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
- Compile a source file to a native binary and link with packages:
|
||||
|
||||
`ocamlfind ocamlopt -package {{package1}},{{package2}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}`
|
||||
`ocamlfind ocamlopt -package {{package1,package2,...}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}`
|
||||
|
||||
- Compile a source file to a bytecode binary and link with packages:
|
||||
|
||||
`ocamlfind ocamlc -package {{package1}},{{package2}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}`
|
||||
`ocamlfind ocamlc -package {{package1,package2,...}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}`
|
||||
|
||||
- Cross-compile for a different platform:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Open a set of files:
|
||||
|
||||
`picard {{path/to/file1.mp3}} {{path/to/file2.mp3}}`
|
||||
`picard {{path/to/file1.mp3 path/to/file2.mp3 ...}}`
|
||||
|
||||
- Display the version of Picard installed:
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
- Blend the specified PPM images using fadefactor to control the weight of each image:
|
||||
|
||||
`ppmmix {{fadefactor}} {{path/to/input_file1.ppm}} {{path/to/input_file2.ppm}} > {{path/to/output_file.ppm}}`
|
||||
`ppmmix {{fadefactor}} {{path/to/input_file1.ppm path/to/input_file2.ppm ...}} > {{path/to/output_file.ppm}}`
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
- Add files to a changelist, creating the changelist if it does not exist:
|
||||
|
||||
`svn changelist {{changelist_name}} {{path/to/file1}} {{path/to/file2}}`
|
||||
`svn changelist {{changelist_name}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Remove files from a changelist:
|
||||
|
||||
`svn changelist --remove {{path/to/file1}} {{path/to/file2}}`
|
||||
`svn changelist --remove {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Remove the whole changelist at once:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Remove multiple dependencies:
|
||||
|
||||
`uv remove {{package1}} {{package2}}`
|
||||
`uv remove {{package1 package2 ...}}`
|
||||
|
||||
- Remove a development dependency:
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Convert multiple files to `bgm_(original name).wav` (Default `-o` pattern is `?f.wav`):
|
||||
|
||||
`vgmstream_cli -o {{path/to/bgm_?f.wav}} {{path/to/file1.adc}} {{path/to/file2.adc}}`
|
||||
`vgmstream_cli -o {{path/to/bgm_?f.wav}} {{path/to/file1.adc path/to/file2.adc ...}}`
|
||||
|
||||
- Play the file looping endlessly (`channels` and `rate` must match metadata):
|
||||
|
||||
|
|
|
@ -13,15 +13,15 @@
|
|||
|
||||
- While in a `yacas` session, display an example:
|
||||
|
||||
`{{Example()}};`
|
||||
`Example();`
|
||||
|
||||
- Quit from a `yacas` session:
|
||||
|
||||
`{{quit}}`
|
||||
`quit`
|
||||
|
||||
- Execute one or more `yacas` scripts (without terminal or prompts), then exit:
|
||||
|
||||
`yacas -p -c {{path/to/script1}} {{path/to/script2}}`
|
||||
`yacas -p -c {{path/to/script1 path/to/script2 ...}}`
|
||||
|
||||
- Execute and print the result of one statement, then exit:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Analyze live traffic from a network interface and load custom scripts:
|
||||
|
||||
`sudo zeek --iface {{interface}} {{script1}} {{script2}}`
|
||||
`sudo zeek --iface {{interface}} {{script1 script2 ...}}`
|
||||
|
||||
- Analyze live traffic from a network interface, without loading any scripts:
|
||||
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
|
||||
- Duplicate a quota to other users:
|
||||
|
||||
`sudo edquota {{[-p|--prototype]}} {{reference_user}} {{destination_user1}} {{destination_user2}}`
|
||||
`sudo edquota {{[-p|--prototype]}} {{reference_user}} {{destination_user1 destination_user2 ...}}`
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
- Install one or more packages from files:
|
||||
|
||||
`sudo pacman -U {{path/to/package1.pkg.tar.zst}} {{path/to/package2.pkg.tar.zst}}`
|
||||
`sudo pacman -U {{path/to/package1.pkg.tar.zst path/to/package2.pkg.tar.zst ...}}`
|
||||
|
||||
- Install a package without prompting:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Create an archive:
|
||||
|
||||
`patool create {{/path/to/archive}} {{/path/to/file1}} {{/path/to/file2}} {{/path/to/dir1/}} {{/path/to/dir2/}}`
|
||||
`patool create {{path/to/archive}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- List contents of an archive:
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Unmount one or more devices:
|
||||
|
||||
`systemd-mount {{[-u|--umount]}} {{path/to/mount_point_or_device1}} {{path/to/mount_point_or_device2}}`
|
||||
`systemd-mount {{[-u|--umount]}} {{path/to/mount_point_or_device1 path/to/mount_point_or_device2 ...}}`
|
||||
|
||||
- Mount a file system (image or block device) with a specific file system type:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue