_node_complete() {
  local cur_word options
  cur_word="${COMP_WORDS[COMP_CWORD]}"
  if [[ "${cur_word}" == -* ]] ; then
    COMPREPLY=( $(compgen -W '--experimental-sea-config --experimental-specifier-resolution --experimental-network-inspection --test-update-snapshots --tls-min-v1.0 --heap-prof --test-only --enable-etw-stack-walking --heap-prof-name --experimental-transform-types --preserve-symlinks-main --inspect-brk --pending-deprecation --permission --async-context-frame --frozen-intrinsics --experimental-addon-modules --cpu-prof-dir --experimental-import-meta-resolve --build-snapshot --test-coverage-exclude --allow-child-process --trace-deprecation --experimental-default-config-file --napi-modules --experimental-global-webcrypto --disable-warning --experimental-global-navigator --import --test-global-setup --experimental-quic --heapsnapshot-near-heap-limit --experimental-loader --perf-prof --conditions --trace-sync-io --test-shard --localstorage-file --node-memory-debug --input-type --test-timeout --experimental-detect-module --run --experimental-require-module --experimental-modules --allow-inspector --tls-keylog --network-family-autoselection --allow-fs-write --expose-gc --enable-source-maps --experimental-print-required-tla --experimental-abortcontroller --disable-sigusr1 --test-skip-pattern --use-env-proxy --allow-fs-read --allow-addons --build-snapshot-config --strip-types --disallow-code-generation-from-strings --inspect-brk-node --debug-brk --experimental-sqlite --throw-deprecation --experimental-shadow-realm --cpu-prof --test-coverage-branches --perf-basic-prof-only-functions --experimental-top-level-await --warnings --prof --trace-warnings --test-coverage-include --network-family-autoselection-attempt-timeout --jitless --debug-arraybuffer-allocations --experimental-repl-await --tls-max-v1.2 --experimental-webstorage --test-rerun-failures --trace-exit --harmony-shadow-realm --trace-promises --watch-preserve-output --trace-env --watch-path --watch-kill-signal --disable-wasm-trap-handler --trace-tls --prof-process --v8-pool-size --experimental-global-customevent --check --use-largepages --use-bundled-ca --inspect-port --perf-prof-unwinding-info --node-snapshot --tls-min-v1.3 --extra-info-on-fatal-exception --trace-event-file-pattern --addons --env-file-if-exists --disable-proto --tls-cipher-list --experimental-report --test-name-pattern --preserve-symlinks --secure-heap --icu-data-dir --experimental-wasi-unstable-preview1 --force-context-aware --zero-fill-buffers --report-exclude-env --dns-result-order --experimental-test-module-mocks --expose-internals --watch --experimental-eventsource --version --report-compact --title --security-revert --use-openssl-ca --test-isolation --tls-min-v1.1 --v8-options --track-heap-objects --openssl-legacy-provider --heap-prof-dir --unhandled-rejections --verify-base-objects --report-filename --help --report-on-fatalerror --experimental-wasm-modules --openssl-shared-config --eval --experimental-json-modules --trace-event-categories --trace-sigint --force-async-hooks-checks --completion-bash --allow-wasi --report-dir --inspect-wait --trace-require-module --test-coverage-lines --force-fips --trace-env-native-stack --test-coverage-functions --experimental-test-coverage --test-force-exit --test-concurrency --test --trace-uncaught --cpu-prof-name --experimental-test-snapshots --experimental-config-file --diagnostic-dir --env-file --max-http-header-size --heap-prof-interval --report-on-signal --test-reporter-destination --experimental-inspector-network-resource --http-parser --openssl-config --tls-min-v1.2 --use-system-ca --insecure-http-parser --report-signal --experimental-worker-inspection --deprecation --test-udp-no-try-send --debug --snapshot-blob --require --cpu-prof-interval --enable-fips --stack-trace-limit --force-node-api-uncaught-exceptions-policy --redirect-warnings --report-uncaught-exception --interpreted-frames-native-stack --max-semi-space-size --heapsnapshot-signal --inspect-publish-uid --global-search-paths --experimental-fetch --report-exclude-network --secure-heap-min --max-old-space-size-percentage --entry-url --test-reporter --print --experimental-vm-modules --allow-worker --interactive --experimental-websocket --tls-max-v1.3 --abort-on-uncaught-exception --max-old-space-size --inspect --perf-basic-prof --experimental-worker --trace-env-js-stack -r --prof-process --enable-network-family-autoselection --es-module-specifier-resolution --inspect-brk= --loader -C --inspect-brk-node= --inspect-wait= --inspect= --trace-events-enabled -c -i --security-reverts --report-directory -e -h -v -p --experimental-strip-types --debug= --experimental-test-isolation --debug-port --print <arg> -pe --debug-brk=' -- "${cur_word}") )
    return 0
  else
    COMPREPLY=( $(compgen -f "${cur_word}") )
    return 0
  fi
}
complete -o filenames -o nospace -o bashdefault -F _node_complete node node_g
