diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-08-23 16:41:05 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-09-01 00:13:20 +0200 |
commit | e812be4a55915575fc1afce739848026a48b781e (patch) | |
tree | 2d654c5ef1a58ec22de69158305785b1556d06f6 /src/env.h | |
parent | 403df7c8a15a9714038c73e90371bed0d37437fa (diff) | |
download | android-node-v8-e812be4a55915575fc1afce739848026a48b781e.tar.gz android-node-v8-e812be4a55915575fc1afce739848026a48b781e.tar.bz2 android-node-v8-e812be4a55915575fc1afce739848026a48b781e.zip |
src: make CLI options programatically accesible
Provide `internalBinding('options')` with some utilities
around making the options parser and current options values
programatically accessible.
PR-URL: https://github.com/nodejs/node/pull/22490
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -118,6 +118,7 @@ struct PackageConfig { // for the sake of convenience. Strings should be ASCII-only. #define PER_ISOLATE_STRING_PROPERTIES(V) \ V(address_string, "address") \ + V(aliases_string, "aliases") \ V(args_string, "args") \ V(async, "async") \ V(async_ids_stack_string, "async_ids_stack") \ @@ -156,6 +157,7 @@ struct PackageConfig { V(entries_string, "entries") \ V(entry_type_string, "entryType") \ V(env_pairs_string, "envPairs") \ + V(env_var_settings_string, "envVarSettings") \ V(errno_string, "errno") \ V(error_string, "error") \ V(exit_code_string, "exitCode") \ @@ -176,6 +178,7 @@ struct PackageConfig { V(get_shared_array_buffer_id_string, "_getSharedArrayBufferId") \ V(gid_string, "gid") \ V(handle_string, "handle") \ + V(help_text_string, "helpText") \ V(homedir_string, "homedir") \ V(host_string, "host") \ V(hostmaster_string, "hostmaster") \ @@ -233,6 +236,7 @@ struct PackageConfig { V(onunpipe_string, "onunpipe") \ V(onwrite_string, "onwrite") \ V(openssl_error_stack, "opensslErrorStack") \ + V(options_string, "options") \ V(output_string, "output") \ V(order_string, "order") \ V(parse_error_string, "Parse Error") \ |