scc icon indicating copy to clipboard operation
scc copied to clipboard

verbose flag does not work if files argument is passed too

Open f-zl opened this issue 1 year ago • 1 comments

Describe the bug scc --verbose <files> doesn't print verbose information

To Reproduce

scc --verbose <files>

Expected behavior Verbose information is printed

Desktop (please complete the following information):

  • OS: [Windows]
  • Version [10]

scc 3.2.0, installed in msys2 mingw64

f-zl avatar Feb 28 '24 03:02 f-zl

That is an interesting one.

boyter avatar Feb 28 '24 23:02 boyter

So I am unable to replicate this.

$ scc -v .git/refs/heads/filewalker
 WARN 2024-04-30T07:18:01Z: possible #! file: .git/refs/heads/filewalker
 WARN 2024-04-30T07:18:01Z: unable to determine #! language for .git/refs/heads/filewalker
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
───────────────────────────────────────────────────────────────────────────────
Total                        0         0        0         0        0          0
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $0
Estimated Schedule Effort (organic) 0.00 months
Estimated People Required 1 Grandparent
───────────────────────────────────────────────────────────────────────────────
Processed 0 bytes, 0.000 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────

In this case I point at a file I know will generate a warning which uses the verbose flags and I do get the warnings as expected.

boyter avatar Apr 30 '24 07:04 boyter