Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: restore line-wrapping p-2
  • Loading branch information
Jeevankumar-S committed Jan 17, 2026
commit 9713a05127a55b2d39577abddf8baa148876c095
14 changes: 7 additions & 7 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,13 @@ added: v0.1.27
* Type: {string\[]}

The `process.argv` property returns an array containing the command-line
arguments passed when the Node.js process was launched. The first element
will be [process.execPath][]. See process.argv0 if access to the original
value of argv[0] is needed. The second element will be the path to the
JavaScript file being executed (if a script file is provided). For no-script
execution modes (e.g., -e/--eval), the second element is the first
unconsumed command-line argument. The remaining elements are additional
command-line arguments.
arguments passed when the Node.js process was launched. The first element will
be [process.execPath][]. See process.argv0 if access to the original value
of argv[0] is needed. The second element will be the path to the JavaScript
Comment thread
Jeevankumar-s marked this conversation as resolved.
Outdated
file being executed (if a script file is provided). For no-script
execution modes (e.g., -e/--eval), the second element is the first unconsumed
Comment thread
Jeevankumar-s marked this conversation as resolved.
Outdated
command-line argument. The remaining elements are additional command-line
arguments.

For example, assuming the following script for `process-args.js`:

Expand Down