Skip to content

Commit

Permalink
--force-lang="A,ext" instead of "A",ext #821
Browse files Browse the repository at this point in the history
to avoid whitespace parsing problems on Windows when the language
name has a space ("Fortran 90", "Visual Basic"), solution by
https://github.com/chscott
  • Loading branch information
AlDanial committed Mar 16, 2024
1 parent 84d7457 commit 61817f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ Usage: cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <se
Fortran 90 counter (which expects files to
end with .f90) instead of the default Fortran 77
counter, use
--force-lang="Fortran 90",f
--force-lang="Fortran 90,f"
If <ext> is omitted, every file will be counted
with the <lang> counter. This option can be
specified multiple times (but that is only
Expand Down
2 changes: 1 addition & 1 deletion Unix/cloc
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Usage: $script [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <repo
Fortran 90 counter (which expects files to
end with .f90) instead of the default Fortran 77
counter, use
--force-lang=\"Fortran 90\",f
--force-lang=\"Fortran 90,f\"
If <ext> is omitted, every file will be counted
with the <lang> counter. This option can be
specified multiple times (but that is only
Expand Down
2 changes: 1 addition & 1 deletion cloc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Usage: $script [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <repo
Fortran 90 counter (which expects files to
end with .f90) instead of the default Fortran 77
counter, use
--force-lang=\"Fortran 90\",f
--force-lang=\"Fortran 90,f\"
If <ext> is omitted, every file will be counted
with the <lang> counter. This option can be
specified multiple times (but that is only
Expand Down

0 comments on commit 61817f5

Please sign in to comment.