From 5b4e5204f45964b390c182a0ffe16b756335fe49 Mon Sep 17 00:00:00 2001 From: nereboss Date: Tue, 21 Nov 2023 13:40:25 +0100 Subject: [PATCH] Add missing parameter to gh-pages #3316 --- .../codecharta/parser/rawtextparser/ParserDialog.kt | 2 +- gh-pages/_docs/04-03-rawtextparser.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/analysis/parser/RawTextParser/src/main/kotlin/de/maibornwolff/codecharta/parser/rawtextparser/ParserDialog.kt b/analysis/parser/RawTextParser/src/main/kotlin/de/maibornwolff/codecharta/parser/rawtextparser/ParserDialog.kt index a3b602d2f16..c41b78f8e8e 100644 --- a/analysis/parser/RawTextParser/src/main/kotlin/de/maibornwolff/codecharta/parser/rawtextparser/ParserDialog.kt +++ b/analysis/parser/RawTextParser/src/main/kotlin/de/maibornwolff/codecharta/parser/rawtextparser/ParserDialog.kt @@ -44,7 +44,7 @@ class ParserDialog { KInquirer.promptInput(message = "Do you want to exclude file/folder according to regex pattern?", default = "", hint = "regex1, regex2.. (leave empty if you don't want to exclude anything)") val fileExtensions: String = - KInquirer.promptInput(message = "Do you only want to parse files with specific file-extensions? ", default = "", hint = ".fileType1, .fileType2, fileType1, fileType2... (leave empty to include all file-extensions)") + KInquirer.promptInput(message = "Do you only want to parse files with specific file-extensions? ", default = "", hint = "fileType1, fileType2... (leave empty to include all file-extensions)") val withoutDefaultExcludes: Boolean = KInquirer.promptConfirm(message = "Do you want to include build, target, dist, resources and out folders as well as files/folders starting with '.'?", default = false) diff --git a/gh-pages/_docs/04-03-rawtextparser.md b/gh-pages/_docs/04-03-rawtextparser.md index 6fb71b471ce..e61247fa46c 100644 --- a/gh-pages/_docs/04-03-rawtextparser.md +++ b/gh-pages/_docs/04-03-rawtextparser.md @@ -18,6 +18,7 @@ This parser analyzes code regardless of the programming language used to generat | `--tab-width=` | tab width used (estimated if not provided) | | `--without-default-excludes` | includes build, target, dist, resources and out folders as well as files/folders starting with '.' | | `-e, --exclude=` | exclude file/folders according to regex pattern | +| `-fe, --file-extensions` | include only files with the specified file extensions (include all if not specified) | | `-h, --help` | displays help | | `-m, --metrics[=...]` | metrics to be computed (select all if not specified) | | `-o, --output-file=` | output File (or empty for stdout) |