gcov: shorted one option help message

Message ID 8d25655f-b5f1-8d0d-845b-6d13f2b5e517@suse.cz
State New
Headers show
Series
  • gcov: shorted one option help message
Related show

Commit Message

Martin Liška July 1, 2020, 11:02 a.m.
Installed to master.

gcc/ChangeLog:

	* gcov.c (print_usage): Shorted option description for -j
	option.
---
  gcc/gcov.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.27.0

Comments

Andreas Schwab July 1, 2020, 11:37 a.m. | #1
On Jul 01 2020, Martin Liška wrote:

> +  fnotice (file, "  -j, --json-format               Output JSON intermediate format \n\


Please avoid the trailing space.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Martin Liška July 1, 2020, 11:52 a.m. | #2
On 7/1/20 1:37 PM, Andreas Schwab wrote:
> On Jul 01 2020, Martin Liška wrote:

> 

>> +  fnotice (file, "  -j, --json-format               Output JSON intermediate format \n\

> 

> Please avoid the trailing space.


Thanks for heads up, fixed.

Martin

> 

> Andreas.

>

Patch

diff --git a/gcc/gcov.c b/gcc/gcov.c
index c60f5112d2c..99c52f6a318 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -898,7 +898,8 @@  print_usage (int error_p)
    fnotice (file, "  -d, --display-progress          Display progress information\n");
    fnotice (file, "  -f, --function-summaries        Output summaries for each function\n");
    fnotice (file, "  -h, --help                      Print this help, then exit\n");
-  fnotice (file, "  -j, --json-format               Output JSON intermediate format into .gcov.json.gz file\n");
+  fnotice (file, "  -j, --json-format               Output JSON intermediate format \n\
+                                    into .gcov.json.gz file\n");
    fnotice (file, "  -H, --human-readable            Output human readable numbers\n");
    fnotice (file, "  -k, --use-colors                Emit colored output\n");
    fnotice (file, "  -l, --long-file-names           Use long output file names for included\n\