Skip to content

Commit 0142bce

Browse files
committed
fix: help mentions --gcov alias (fixes #1213)
1 parent 97b28a3 commit 0142bce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/config/help/config_help_core.f90

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ subroutine show_help_information()
2020
print '(A)', "Usage: fortcov [OPTIONS] [COVERAGE_FILES...]"
2121
print '(A)', ""
2222
print '(A)', "Note: FortCov analyzes existing .gcov files by default."
23-
print '(A)', " Use --discover-and-gcov to auto-discover builds and run gcov."
23+
print '(A)', " Use --gcov (alias: --discover-and-gcov) to auto-discover builds and run gcov."
2424
print '(A)', ""
2525
print '(A)', "Options:"
2626
print '(A)', " -h, --help Show this help and exit"
@@ -39,11 +39,12 @@ subroutine show_help_information()
3939
print '(A)', " --fail-under PERCENT Exit non-zero if coverage below PERCENT"
4040
print '(A)', ""
4141
print '(A)', "Automation:"
42-
print '(A)', " --discover-and-gcov Auto-discover builds and run gcov before analysis"
42+
print '(A)', " --gcov Auto-discover builds and run gcov before analysis"
43+
print '(A)', " (alias: --discover-and-gcov)"
4344
print '(A)', ""
4445
print '(A)', "Examples:"
4546
print '(A)', " fortcov --source=src *.gcov --output=report.md"
46-
print '(A)', " fortcov --discover-and-gcov --fail-under 80"
47+
print '(A)', " fortcov --gcov --fail-under 80"
4748
print '(A)', ""
4849
print '(A)', "For more information, visit: https://github.com/lazy-fortran/fortcov"
4950

0 commit comments

Comments
 (0)