From ae5329ab44224133b0079cc1fd678e9bce4ecb08 Mon Sep 17 00:00:00 2001 From: Sambhavi Date: Sun, 10 May 2026 18:37:15 +0530 Subject: [PATCH 1/2] docs: remove stale DEBUG_NOPT / NOPT_DEBUG references from README --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 19ef097..24223b6 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,6 @@ config object and remove its invalid properties. ## Error Handling -By default nopt logs debug messages if `DEBUG_NOPT` or `NOPT_DEBUG` are set in the environment. - You can assign the following methods to `nopt` for a more granular notification of invalid, unknown, and expanding options: `nopt.invalidHandler(key, value, type, data)` - Called when a value is invalid for its option. From 21f85fce06808a4dd85a838da6f3d1a3a64b3be1 Mon Sep 17 00:00:00 2001 From: Sambhavi Date: Fri, 22 May 2026 23:24:01 +0530 Subject: [PATCH 2/2] chore(doc): doc cleanup --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 24223b6..25cda23 100644 --- a/README.md +++ b/README.md @@ -147,8 +147,6 @@ You can assign the following methods to `nopt` for a more granular notification `nopt.unknownHandler(key, next)` - Called when an option is found that has no configuration. In certain situations the next option on the command line will be parsed on its own instead of as part of the unknown option. In this case `next` will contain that option. `nopt.abbrevHandler(short, long)` - Called when an option is automatically translated via abbreviations. -You can also set any of these to `false` to disable the debugging messages that they generate. - ## Abbreviations Yes, they are supported. If you define options like this: