After #197 lands, the in-repo lib/debug.js shim is removed and the DEBUG_NOPT / NOPT_DEBUG environment variables no longer do anything. The README still documents them:
https://github.com/npm/nopt/blob/main/README.md#L144
By default nopt logs debug messages if DEBUG_NOPT or NOPT_DEBUG are set in the environment.
This sentence (and any surrounding context referring to debug logging) should be removed so the docs match runtime behavior.
Suggested change
Delete the line in README.md that mentions DEBUG_NOPT / NOPT_DEBUG. No code changes needed.
How to verify
grep -n "DEBUG_NOPT\|NOPT_DEBUG" README.md
# should print nothing after the fix
Follow-up to #197.
After #197 lands, the in-repo
lib/debug.jsshim is removed and theDEBUG_NOPT/NOPT_DEBUGenvironment variables no longer do anything. The README still documents them:https://github.com/npm/nopt/blob/main/README.md#L144
This sentence (and any surrounding context referring to debug logging) should be removed so the docs match runtime behavior.
Suggested change
Delete the line in
README.mdthat mentionsDEBUG_NOPT/NOPT_DEBUG. No code changes needed.How to verify
Follow-up to #197.