diff --git a/docs/command-line.md b/docs/command-line.md index a7f603868..5ee828119 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -15,7 +15,7 @@ Pyright can be run as either a VS Code extension or as a node-based command-line | -p, --project `` | Use the configuration file at this location | | --pythonplatform `` | Analyze for platform (Darwin, Linux, Windows) | | --pythonversion `` | 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 `` | Use typeshed type stubs at this location (2) | | -v, --venv-path `` | Directory that contains virtual environments (3) | diff --git a/packages/pyright-internal/src/pyright.ts b/packages/pyright-internal/src/pyright.ts index 7cef99636..ecece2ac8 100644 --- a/packages/pyright-internal/src/pyright.ts +++ b/packages/pyright-internal/src/pyright.ts @@ -644,7 +644,7 @@ function printUsage() { ' -p,--project Use the configuration file at this location\n' + ' --pythonplatform Analyze for a specific platform (Darwin, Linux, Windows)\n' + ' --pythonversion 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 Use typeshed type stubs at this location\n' + ' -v,--venv-path Directory that contains virtual environments\n' +