mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 15:35:40 +02:00
linux/{h, i}*: add option placeholders (#17000)
This commit is contained in:
parent
e3f52cd0e7
commit
f19dd8d520
7 changed files with 28 additions and 28 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Check all Haskell files and generate a report:
|
||||
|
||||
`hlint {{path/to/directory}} --report`
|
||||
`hlint {{path/to/directory}} {{[-r|--report]}}`
|
||||
|
||||
- Automatically apply most suggestions:
|
||||
|
||||
|
|
|
@ -33,4 +33,4 @@
|
|||
|
||||
- Display help:
|
||||
|
||||
`homectl --help`
|
||||
`homectl {{[-h|--help]}}`
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
- List all genres:
|
||||
|
||||
`id3v2 --list-genres`
|
||||
`id3v2 {{-L|--list-genres}}`
|
||||
|
||||
- List all tags of specific files:
|
||||
|
||||
`id3v2 --list {{path/to/file1 path/to/file2 ...}}`
|
||||
`id3v2 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Delete all `id3v2` or `id3v1` tags of specific files:
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Display help:
|
||||
|
||||
`id3v2 --help`
|
||||
`id3v2 {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`id3v2 --version`
|
||||
`id3v2 {{[-v|--version]}}`
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Set output column count to a specific value:
|
||||
|
||||
`img2txt --width={{10}}`
|
||||
`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}`
|
||||
|
||||
- Set output line count to a specific value:
|
||||
|
||||
`img2txt --height={{5}}`
|
||||
`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}`
|
||||
|
||||
- Set output font width to a specific value:
|
||||
|
||||
`img2txt --font-width={{12}}`
|
||||
`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}`
|
||||
|
||||
- Set output font height to a specific value:
|
||||
|
||||
`img2txt --font-height={{14}}`
|
||||
`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}`
|
||||
|
||||
- Set image brightness to a specific value:
|
||||
|
||||
`img2txt --brightness={{2}}`
|
||||
`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}`
|
||||
|
|
|
@ -9,28 +9,28 @@
|
|||
|
||||
- Continuously watch a specific file for events without exiting:
|
||||
|
||||
`inotifywait --monitor {{path/to/file}}`
|
||||
`inotifywait {{[-m|--monitor]}} {{path/to/file}}`
|
||||
|
||||
- Watch a directory recursively for events:
|
||||
|
||||
`inotifywait --monitor --recursive {{path/to/directory}}`
|
||||
`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} {{path/to/directory}}`
|
||||
|
||||
- Watch a directory for changes, excluding files, whose names match a regular expression:
|
||||
|
||||
`inotifywait --monitor --recursive --exclude "{{regular_expression}}" {{path/to/directory}}`
|
||||
`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} --exclude "{{regular_expression}}" {{path/to/directory}}`
|
||||
|
||||
- Watch a file for changes, exiting when no event occurs for 30 seconds:
|
||||
|
||||
`inotifywait --monitor --timeout {{30}} {{path/to/file}}`
|
||||
`inotifywait {{[-m|--monitor]}} {{[-t|--timeout]}} {{30}} {{path/to/file}}`
|
||||
|
||||
- Only watch a file for file modification events:
|
||||
|
||||
`inotifywait --event {{modify}} {{path/to/file}}`
|
||||
`inotifywait {{[-e|--event]}} {{modify}} {{path/to/file}}`
|
||||
|
||||
- Watch a file printing only events, and no status messages:
|
||||
|
||||
`inotifywait --quiet {{path/to/file}}`
|
||||
`inotifywait {{[-q|--quiet]}} {{path/to/file}}`
|
||||
|
||||
- Run a command when a file is accessed:
|
||||
|
||||
`inotifywait --event {{access}} {{path/to/file}} && {{command}}`
|
||||
`inotifywait {{[-e|--event]}} {{access}} {{path/to/file}} && {{command}}`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Download pictures, videos, captions, and other metadata from Instagram.
|
||||
> Note: You will need to provide Instagram login information if you want high-quality media downloads.
|
||||
> More information: <https://instaloader.github.io>.
|
||||
> More information: <https://instaloader.github.io/cli-options.html>.
|
||||
|
||||
- Download a profile:
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
- Download posts with geotags (if available), suppressing any user interaction:
|
||||
|
||||
`instaloader --quiet --geotags {{profile_name}}`
|
||||
`instaloader {{[-q|--quiet]}} {{[-G|--geotags]}} {{profile_name}}`
|
||||
|
||||
- Specify a user agent for HTTP requests:
|
||||
|
||||
|
@ -22,16 +22,16 @@
|
|||
|
||||
- Specify login info and download posts (useful for private profiles):
|
||||
|
||||
`instaloader --login {{username}} --password {{password}} {{profile_name}}`
|
||||
`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{profile_name}}`
|
||||
|
||||
- Skip a target if the first downloaded file has been found (useful for updating Instagram archives):
|
||||
|
||||
`instaloader --fast-update {{profile_name}}`
|
||||
`instaloader {{[-F|--fast-update]}} {{profile_name}}`
|
||||
|
||||
- Download stories and IGTV videos (login required):
|
||||
|
||||
`instaloader --login {{username}} --password {{password}} --stories --igtv {{profile_name}}`
|
||||
`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{[-s|--stories]}} --igtv {{profile_name}}`
|
||||
|
||||
- Download all types of posts (login required):
|
||||
|
||||
`instaloader --login {{username}} --password {{password}} --stories --igtv --highlights {{profile_name}}`
|
||||
`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {[-s|--stories]}} --igtv --highlights {{profile_name}}`
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Create a shared memory segment:
|
||||
|
||||
`ipcmk --shmem {{segment_size_in_bytes}}`
|
||||
`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}}`
|
||||
|
||||
- Create a semaphore:
|
||||
|
||||
`ipcmk --semaphore {{element_size}}`
|
||||
`ipcmk {{[-S|--semaphore]}} {{element_size}}`
|
||||
|
||||
- Create a message queue:
|
||||
|
||||
`ipcmk --queue`
|
||||
`ipcmk {{[-Q|--queue]}}`
|
||||
|
||||
- Create a shared memory segment with specific permissions (default is 0644):
|
||||
|
||||
`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissions}}`
|
||||
`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}} {{octal_permissions}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue