[gjs/gnome-3-38] console: fix typo in command-line option



commit 0dcdd6b8c1a0d97b389b68f47b3b62ccc1341639
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 1406a713..7fe62683 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]