Skip to content

Commit 26ce6cc

Browse files
committed
adjust doc comment
1 parent b1cd312 commit 26ce6cc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cpp-linter/src/run.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ fn probe_ssl_certs() {
3030
/// This is the backend entry point for console applications.
3131
///
3232
/// The idea here is that all functionality is implemented in Rust. However, passing
33-
/// command line arguments is done differently in Python or Rust.
33+
/// command line arguments is done differently in Python, node.js, or Rust.
3434
///
35-
/// - In python, the ``sys.argv`` list is passed from the ``cpp_linter.entry_point.main()``
36-
/// function to rust via the ``cpp_linter.run.main()`` binding (which wraps [`run_main()`]).
35+
/// - In python, the `sys.argv` list is passed from the `cpp_linter.main()`
36+
/// function to rust via the `cpp_linter.main()` binding (which wraps [`run_main()`]).
37+
/// - In node.js, the `process.argv` array is passed from `cli.js` module to
38+
/// rust via `index.node` module's `main()` (which wraps([`run_main()`])).
3739
/// - In rust, the [`std::env::args`] is passed to [`run_main()`] in the binary
3840
/// source `main.rs`.
3941
///

0 commit comments

Comments
 (0)