Improved docs string for the --skipunannotated command line option.

This commit is contained in:
Eric Traut 2022-05-18 10:34:48 -07:00
parent fb7ae7bb3c
commit 5840e3eb7c
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Pyright can be run as either a VS Code extension or as a node-based command-line
| -p, --project `<FILE OR DIRECTORY>` | Use the configuration file at this location |
| --pythonplatform `<PLATFORM>` | Analyze for platform (Darwin, Linux, Windows) |
| --pythonversion `<VERSION>` | Analyze for version (3.3, 3.4, etc.) |
| --skipunannotated | Skip type analysis of unannotated functions? |
| --skipunannotated | Skip type analysis of unannotated functions |
| --stats | Print detailed performance stats |
| -t, --typeshed-path `<DIRECTORY>` | Use typeshed type stubs at this location (2) |
| -v, --venv-path `<DIRECTORY>` | Directory that contains virtual environments (3) |

View File

@ -644,7 +644,7 @@ function printUsage() {
' -p,--project <FILE OR DIRECTORY> Use the configuration file at this location\n' +
' --pythonplatform <PLATFORM> Analyze for a specific platform (Darwin, Linux, Windows)\n' +
' --pythonversion <VERSION> Analyze for a specific version (3.3, 3.4, etc.)\n' +
' --skipunannotated Do not analyze functions and methods with no type annotations\n' +
' --skipunannotated Skip analysis of functions with no type annotations\n' +
' --stats Print detailed performance stats\n' +
' -t,--typeshed-path <DIRECTORY> Use typeshed type stubs at this location\n' +
' -v,--venv-path <DIRECTORY> Directory that contains virtual environments\n' +