Compare commits
25 Commits
2b8b88e6db
...
c32c255def
| Author | SHA1 | Date |
|---|---|---|
|
|
c32c255def | |
|
|
03bae0bf3f | |
|
|
049f47829a | |
|
|
46d0330c99 | |
|
|
33a54893e3 | |
|
|
473f4d9d19 | |
|
|
97e0c82d2c | |
|
|
3340a40f64 | |
|
|
5d82a3e724 | |
|
|
f031b84aa8 | |
|
|
81565c73e1 | |
|
|
83e71a9f0b | |
|
|
9674907aea | |
|
|
7d74814449 | |
|
|
0716597f43 | |
|
|
678f859cac | |
|
|
64e9cc76db | |
|
|
6ff45c8fc7 | |
|
|
92b1ac0e51 | |
|
|
e30bfd3582 | |
|
|
fd93dc2e75 | |
|
|
cdec11a66b | |
|
|
a761ad30f7 | |
|
|
ecc9750480 | |
|
|
555fdbe3bc |
949
src/_conan
949
src/_conan
File diff suppressed because it is too large
Load Diff
16
src/_node
16
src/_node
|
|
@ -28,7 +28,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for Node.js v26.1.0 (https://nodejs.org)
|
# Completion script for Node.js v26.4.0 (https://nodejs.org)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
|
@ -87,6 +87,19 @@ _node() {
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local -a inspect_options=()
|
||||||
|
if [[ "$words[2]" == 'inspect' ]]; then
|
||||||
|
inspect_options+=(
|
||||||
|
'*--probe[source location of the probe]:location:_files'
|
||||||
|
'--expr[expression to evaluate of the preceding --probe each time execution reaches it]:expr'
|
||||||
|
'--max-hit[per-probe limit on evaluated hits, when not specified, there is no limit]::num'
|
||||||
|
'--json[output JSON, when not specified, human-readable text]'
|
||||||
|
'--preview[include V8 object previews in JSON output]'
|
||||||
|
'--timeout[global session timeout(default 30000ms)]:msecs'
|
||||||
|
'--port[inspector port for the debuggee(default or 0 use random port)]:port'
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
local ret=1
|
local ret=1
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
|
|
@ -274,6 +287,7 @@ _node() {
|
||||||
'--watch-preserve-output[preserve outputs on watch mode restart]' \
|
'--watch-preserve-output[preserve outputs on watch mode restart]' \
|
||||||
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
|
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
|
||||||
$v8_options[@] \
|
$v8_options[@] \
|
||||||
|
$inspect_options[@] \
|
||||||
'(- 1 *)'{-h,--help}'[print node command line options]' \
|
'(- 1 *)'{-h,--help}'[print node command line options]' \
|
||||||
'(- 1 *)'{-v,--version}'[print Node.js version]' \
|
'(- 1 *)'{-v,--version}'[print Node.js version]' \
|
||||||
'*: :_node_args' && ret=0
|
'*: :_node_args' && ret=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue