mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +00:00
feat(parseArgs): Native implementation of parseArgs from node:util (#7310)
* Native implementation of parseArgs from node:util * small change to validators + added some docs
This commit is contained in:
@@ -1094,4 +1094,13 @@ pub const Code = enum {
|
||||
/// Used when an attempt is made to use a zlib object after it has already been closed.
|
||||
/// CPU USAGE
|
||||
ERR_CPU_USAGE,
|
||||
|
||||
/// Used by node:util parseArgs
|
||||
ERR_PARSE_ARGS_INVALID_OPTION_VALUE,
|
||||
|
||||
/// Used by node:util parseArgs
|
||||
ERR_PARSE_ARGS_UNKNOWN_OPTION,
|
||||
|
||||
/// Used by node:util parseArgs
|
||||
ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user