1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-30 23:35:23 +02:00

cmake, cppcheck, dalfox, gdown, gfortran, ghc: add option placeholders and update more information (#16371)

This commit is contained in:
Managor 2025-05-05 14:56:17 +03:00 committed by GitHub
parent 0e8893e1ba
commit 76eac252bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

View file

@ -29,8 +29,8 @@
- Run a custom build target:
`cmake --build {{path/to/build_directory}} --target {{target_name}}`
`cmake --build {{path/to/build_directory}} {{[-t|--target]}} {{target_name}}`
- Display help, obtain a list of generators:
`cmake --help`
`cmake {{[-h|--help]}}`

View file

@ -10,7 +10,7 @@
- Recursively check a given directory, and don't print progress messages:
`cppcheck --quiet {{path/to/directory}}`
`cppcheck {{[-q|--quiet]}} {{path/to/directory}}`
- Check a given file, specifying which tests to perform (by default only errors are shown):

View file

@ -9,7 +9,7 @@
- Scan a URL using a header for authentication:
`dalfox url {{http://example.com}} -H {{'X-My-Header: 123'}}`
`dalfox url {{http://example.com}} {{[-H|--header]}} {{'X-My-Header: 123'}}`
- Scan a list of URLs from a file:

View file

@ -17,8 +17,8 @@
- Download a folder using its ID or the full URL:
`gdown {{folder_id|url}} -O {{path/to/output_directory}} --folder`
`gdown {{folder_id|url}} {{[-O|--output]}} {{path/to/output_directory}} --folder`
- Download a tar archive, write it to `stdout` and extract it:
`gdown {{tar_url}} -O - --quiet | tar xvf -`
`gdown {{tar_url}} {{[-O|--output]}} - {{[-q|--quiet]}} | tar xvf -`

View file

@ -1,7 +1,7 @@
# gfortran
> Preprocess and compile Fortran source files, then assemble and link them together.
> More information: <https://gcc.gnu.org/wiki/GFortran>.
> More information: <https://gcc.gnu.org/onlinedocs/gfortran/Invoking-GNU-Fortran.html>.
- Compile multiple source files into an executable:

View file

@ -2,7 +2,7 @@
> The Glasgow Haskell Compiler.
> Compiles and links Haskell source files.
> More information: <https://www.haskell.org/ghc>.
> More information: <https://downloads.haskell.org/ghc/latest/docs/users_guide/usage.html>.
- Find and compile all modules in the current directory: