Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: '--quiet-level' is mentioned but not explained #3492

Open
LinuxOnTheDesktop opened this issue Jul 21, 2024 · 3 comments
Open

README: '--quiet-level' is mentioned but not explained #3492

LinuxOnTheDesktop opened this issue Jul 21, 2024 · 3 comments

Comments

@LinuxOnTheDesktop
Copy link

The README has:

codespell --quiet-level 3 --count --skip "*.po,*.ts,./src/3rdParty,./src/Test"

One wonders what this quiet-level is and what its values do.

One wonders also whether a particular setting for it will prevent the following unfortunateness.

$ codespell /~/scripts -i 3 -w
				"Package Control: instal",
	instal ==> install (Y/n) 

What is unfortunate here is that I do not know while file is at issue.

@DimitriPapadopoulos
Copy link
Collaborator

From the README:

Below are some simple usage examples to demonstrate how the tool works. For exhaustive usage information, please check the output of codespell -h.

@LinuxOnTheDesktop
Copy link
Author

That is a good point. Perhaps though I should open another issue about how codespell fails to identify the file that it faults - unless one counts the -A, -B and -C options.

@DimitriPapadopoulos
Copy link
Collaborator

I believe this is on intent, the file name is considered irrelevant when using -i:

$ codespell path
path/to/file:1: syncin ==> syncing, sync in
$ 
$ codespell -w path
path/to/file:1: syncin ==> syncing, sync in
$ 
$ codespell -w -i 3 path
syncin
 Choose an option (blank for none):  0) syncing 1) sync in:  
$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants