[gjs: 1/2] console: fix typo in command-line option
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] console: fix typo in command-line option
- Date: Sat, 19 Sep 2020 03:25:31 +0000 (UTC)
commit 909f85842696e4061e0aaf9ebd90e720ea8c5092
Author: Andy Holmes <andrew g r holmes gmail com>
Date: Fri Sep 18 16:44:33 2020 -0700
console: fix typo in command-line option
Help for `--coverage-output` refers to `--coverage-path` instead of
`--coverage-prefix`.
gjs/console.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gjs/console.cpp b/gjs/console.cpp
index 1406a7131..7fe62683c 100644
--- a/gjs/console.cpp
+++ b/gjs/console.cpp
@@ -58,7 +58,7 @@ static GOptionEntry entries[] = {
"Print version of the JS engine and exit" },
{ "command", 'c', 0, G_OPTION_ARG_STRING, &command, "Program passed in as a string", "COMMAND" },
{ "coverage-prefix", 'C', 0, G_OPTION_ARG_STRING_ARRAY, &coverage_prefixes, "Add the prefix PREFIX to
the list of files to generate coverage info for", "PREFIX" },
- { "coverage-output", 0, 0, G_OPTION_ARG_STRING, &coverage_output_path, "Write coverage output to a
directory DIR. This option is mandatory when using --coverage-path", "DIR", },
+ { "coverage-output", 0, 0, G_OPTION_ARG_STRING, &coverage_output_path, "Write coverage output to a
directory DIR. This option is mandatory when using --coverage-prefix", "DIR", },
{ "include-path", 'I', 0, G_OPTION_ARG_STRING_ARRAY, &include_path, "Add the directory DIR to the list
of directories to search for js files.", "DIR" },
{ "profile", 0, G_OPTION_FLAG_OPTIONAL_ARG | G_OPTION_FLAG_FILENAME,
G_OPTION_ARG_CALLBACK, reinterpret_cast<void *>(&parse_profile_arg),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]