From 76eac252bd9f16a6b5f0d96e7ac4ee5a2b3d2623 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 5 May 2025 14:56:17 +0300 Subject: [PATCH] cmake, cppcheck, dalfox, gdown, gfortran, ghc: add option placeholders and update more information (#16371) --- pages/common/cmake.md | 4 ++-- pages/common/cppcheck.md | 2 +- pages/common/dalfox.md | 2 +- pages/common/gdown.md | 4 ++-- pages/common/gfortran.md | 2 +- pages/common/ghc.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/common/cmake.md b/pages/common/cmake.md index 2ca22f9e9b..550659ec3b 100644 --- a/pages/common/cmake.md +++ b/pages/common/cmake.md @@ -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]}}` diff --git a/pages/common/cppcheck.md b/pages/common/cppcheck.md index 53b2f15722..8a7998907f 100644 --- a/pages/common/cppcheck.md +++ b/pages/common/cppcheck.md @@ -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): diff --git a/pages/common/dalfox.md b/pages/common/dalfox.md index 763f87b715..3fa1212915 100644 --- a/pages/common/dalfox.md +++ b/pages/common/dalfox.md @@ -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: diff --git a/pages/common/gdown.md b/pages/common/gdown.md index 674f377398..93b843b8b9 100644 --- a/pages/common/gdown.md +++ b/pages/common/gdown.md @@ -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 -` diff --git a/pages/common/gfortran.md b/pages/common/gfortran.md index 465149c528..18e63a8abe 100644 --- a/pages/common/gfortran.md +++ b/pages/common/gfortran.md @@ -1,7 +1,7 @@ # gfortran > Preprocess and compile Fortran source files, then assemble and link them together. -> More information: . +> More information: . - Compile multiple source files into an executable: diff --git a/pages/common/ghc.md b/pages/common/ghc.md index e91bb5a397..d87cf650af 100644 --- a/pages/common/ghc.md +++ b/pages/common/ghc.md @@ -2,7 +2,7 @@ > The Glasgow Haskell Compiler. > Compiles and links Haskell source files. -> More information: . +> More information: . - Find and compile all modules in the current directory: