1
0
Fork 0
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:
Managor 2025-07-20 19:33:17 +03:00 committed by GitHub
parent c5210d9d7c
commit 46896e29f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 22 additions and 22 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -9,7 +9,7 @@
- Search multiple directories:
`jdupes {{directory1}} {{directory2}}`
`jdupes {{directory1 directory2 ...}}`
- Search all directories recursively:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -9,7 +9,7 @@
- Remove multiple dependencies:
`uv remove {{package1}} {{package2}}`
`uv remove {{package1 package2 ...}}`
- Remove a development dependency:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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