From dcd7c63c3e7738c71030814b551c325f19b9fc2e Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Sun, 22 Mar 2020 21:41:57 +0900 Subject: [PATCH] Update node completion v12.16 --- src/_node | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/_node b/src/_node index fc6f366..2dd99f1 100644 --- a/src/_node +++ b/src/_node @@ -59,13 +59,38 @@ _arguments -C \ '-[script read from stdin (default; interactive mode if a tty)]' \ '--[indicate the end of node options]' \ '--abort-on-uncaught-exception[aborting instead of exiting causes a core file to be generated for analysis]' \ + '--completion-bash[print source-able bash completion script]' \ + '--cpu-prof[Start the V8 CPU profiler on start up]' \ + '--cpu-prof-dir=[directory where the V8 profiles generated by --cpu-prof]: :_files -/' \ + '--cpu-prof-name=[file name of the V8 profile generated with --cpu-prof]: :_files' \ + '--cpu-prof-interval=[sampling interval in microseconds for the V8 CPU profiler]:number' \ + '--disallow-code-generation-from-strings[disallow eval and friends]' \ + '--enable-source-maps[source map support]' \ '--experimental-modules[experimental ES Module support and caching modules]' \ + '--experimental-policy=[security policy file]: :_files' \ '--experimental-repl-await[experimental await keyword support in REPL]' \ + '--experimental-report[enable report generation]' \ + '--experimental-specifier-resolution=[extension resolution algorithm for es modules]:resolution algorithm:(explicit none)' \ '--experimental-vm-modules[experimental ES Module support in vm module]' \ + '--experimental-wasi-unstable-preview1[experimental WASI support]' \ + '--experimental-wasm-modules[experimental ES module support for webassembly modules]' \ + '--force-context-aware[disable loading non-context-aware addons]' \ + '--frozen-intrinsics[experimental frozen intrinsics support]' \ + '--heap-prof[Start the V8 heap profiler on start up]' \ + '--heap-prof-dir=[Directory where the V8 profiles generated by --heap-prof]: :_files -/' \ + '--heap-prof-interval=[sampling interval in bytes for the V8 heap profile]:number' \ + '--heap-prof-name=[file name of the V8 heap profile generated]: :_files' \ + '--heapsnapshot-signal=[Generate heap snapshot on specified signal]:signals:_signals -s' \ + '--http-parser=[HTTP parser]:HTTP parser:(legacy llhttp)' \ + '--http-server-default-timeout=[default http server socket timeout in ms]::number' \ '--icu-data-dir=[set ICU data load path to dir (overrides NODE_ICU_DATA) note: linked-in ICU data is present]: :_directories' \ + '--insecure-http-parser[Use an insecure HTTP parser that accepts invalid HTTP headers]' \ '--inspect-brk=-[activate inspector on host:port and break at start of user script]:[host\:]port' \ '--inspect-port=[set host:port for inspector]:[host\:]port' \ '--inspect=-[activate inspector on host:port (default: 127.0.0.1:9229)]:[host\:]port' \ + '--inspect-publish-uid=[comma separated list of destinations for inspector uid]' \ + '--interpreted-frames-native-stack[helm system profilers to translate JavaScript interpreted frames]' \ + '--max-http-header-size=[set the maximum size of HTTP headers]::number' \ '--napi-modules[load N-API modules (no-op - option kept for compatibility)]' \ '--no-deprecation[silence deprecation warnings]' \ '--no-force-async-hooks-checks[disable checks for async_hooks]' \ @@ -77,15 +102,31 @@ _arguments -C \ '--prof[generate V8 profiler output]' \ '--prof-process[process V8 profiler output generated using --prof]' \ '--redirect-warnings=[write warnings to file instead of stderr]: :_files' \ + '--report-directory=[custom report path]: :_files -/' \ + '--report-filename=[custom report file name]: :_files' \ + '--report-on-fatalerror[generate diagnostic report on fatal (internal) errors]' \ + '--report-on-signal=[generate diagnostic report upon receiving signals]' \ + '--report-signal=[causes diagnostic report to be produced on provided signal]:signals:_signals -s' \ + '--report-uncaught-exception[generate diagnostic report on uncaught exceptions]' \ '--throw-deprecation[throw an exception on deprecations]' \ + '--title=[the process title to use on startup]:process title' \ '--tls-cipher-list=[use an alternative default TLS cipher list]:cipher list string' \ + '--tls-keylog=[log TLS decryption keys to named file for traffic analysis]: :_files' \ + '(--tls-max-v1.3)--tls-max-v1.2[set default TLS maximum to TLSv1.2]' \ + '(--tls-max-v1.2)--tls-max-v1.3[set default TLS maximum to TLSv1.3]' \ + '(--tls-min-v1.1 --tls-min-v1.2 --tls-min-v1.3)--tls-min-v1.0[set default TLS minimum to TLSv1.0]' \ + '(--tls-min-v1.0 --tls-min-v1.2 --tls-min-v1.3)--tls-min-v1.1[set default TLS minimum to TLSv1.1]' \ + '(--tls-min-v1.0 --tls-min-v1.1 --tls-min-v1.3)--tls-min-v1.2[set default TLS minimum to TLSv1.2]' \ + '(--tls-max-v1.2 --tls-min-v1.0 --tls-min-v1.1 --tls-min-v1.2)--tls-min-v1.3[set default TLS minimum to TLSv1.3]' \ '--trace-deprecation[show stack traces on deprecations]' \ '--trace-event-categories[comma separated list of trace event categories to record]: :{_values -s , categories node node.async_hooks node.bootstrap node.perf node.perf.usertiming node.perf.timerify node.fs.sync node.vm.script v8}' \ '--trace-event-file-pattern[Template string specifying the filepath for the trace-events data, it supports ${rotation} and ${pid} log-rotation id. %2$u is the pid.]:template string' \ '--trace-events-enabled[track trace events]' \ + '--trace-exit[show stack trace when an environment exits]' \ '--trace-sync-io[show stack trace when use of sync IO is detected after the first tick]' \ '--trace-warnings[show stack traces on process warnings]' \ '--track-heap-objects[track heap object allocations for heap snapshots]' \ + '--unhandled-rejections=[define unhandled rejections behavior]:rejection behavior:(strict warn none)' \ '--use-bundled-ca[use bundled CA store (default)]' \ "--use-openssl-ca[use OpenSSL's default CA store]" \ '(- 1 *)--v8-options[print v8 command line options]' \