aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-06-30 15:48:03 +0200
committerMartin Liska <mliska@suse.cz>2020-07-01 13:00:04 +0200
commitc4076255e632991f5a76c058bfadaa9d8f1159ee (patch)
treec62b82d6d4ef408d92c9942dbdbd25218f34a21b /gcc/doc
parent624e60f080989fa57756575a0bb47a97748b52b8 (diff)
downloadgcc-c4076255e632991f5a76c058bfadaa9d8f1159ee.zip
gcc-c4076255e632991f5a76c058bfadaa9d8f1159ee.tar.gz
gcc-c4076255e632991f5a76c058bfadaa9d8f1159ee.tar.bz2
gcov: rename 2 options.
gcc/ChangeLog: * doc/gcov.texi: Rename 2 options. * gcov.c (print_usage): Rename -i,--json-format to -j,--json-format and -j,--human-readable to -H,--human-readable. (process_args): Fix up parsing. Document obsolete options and how are they changed. gcc/testsuite/ChangeLog: * g++.dg/gcov/loop.C: Use -H option instead of -j option.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/gcov.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index 22e42da..00f0cdc 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -124,8 +124,8 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
[@option{-c}|@option{--branch-counts}]
[@option{-d}|@option{--display-progress}]
[@option{-f}|@option{--function-summaries}]
- [@option{-i}|@option{--json-format}]
- [@option{-j}|@option{--human-readable}]
+ [@option{-j}|@option{--json-format}]
+ [@option{-H}|@option{--human-readable}]
[@option{-k}|@option{--use-colors}]
[@option{-l}|@option{--long-file-names}]
[@option{-m}|@option{--demangled-names}]
@@ -180,7 +180,7 @@ Output summaries for each function in addition to the file level summary.
Display help about using @command{gcov} (on the standard output), and
exit without doing any further processing.
-@item -i
+@item -j
@itemx --json-format
Output gcov file in an easy-to-parse JSON intermediate format
which does not require source code for generation. The JSON
@@ -339,7 +339,7 @@ Fields of the @var{branch} element have following semantics:
@var{throw}: true when the branch is an exceptional branch
@end itemize
-@item -j
+@item -H
@itemx --human-readable
Write counts in human readable format (like 24.6k).