readme errata: args is read from process.argv

Open Beginner friendly
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
95/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
documentation

Research direction

Open README.md around line 65 and compare the documented source of args with the issue report. Replace the incorrect process.cwd() reference with process.argv, then review the rendered README to confirm the example and wording are accurate.

Written by the indexing model from the issue text.

Description

The readme says that pargs always uses process.cwd() for args, but that should be process.argv.

https://github.com/ljharb/pargs/blob/c15ca12877fc53d57cbf022719c76269fa1379a9/README.md?plain=1#L65

Dominant language
JavaScript
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ljharb/pargs

All issues in ljharb/pargs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.