Compare commits
24 Commits
24e22843b9
...
03bae0bf3f
| Author | SHA1 | Date |
|---|---|---|
|
|
03bae0bf3f | |
|
|
049f47829a | |
|
|
46d0330c99 | |
|
|
33a54893e3 | |
|
|
473f4d9d19 | |
|
|
97e0c82d2c | |
|
|
3340a40f64 | |
|
|
5d82a3e724 | |
|
|
f031b84aa8 | |
|
|
81565c73e1 | |
|
|
83e71a9f0b | |
|
|
9674907aea | |
|
|
7d74814449 | |
|
|
0716597f43 | |
|
|
678f859cac | |
|
|
64e9cc76db | |
|
|
6ff45c8fc7 | |
|
|
92b1ac0e51 | |
|
|
e30bfd3582 | |
|
|
fd93dc2e75 | |
|
|
cdec11a66b | |
|
|
a761ad30f7 | |
|
|
ecc9750480 | |
|
|
555fdbe3bc |
939
src/_conan
939
src/_conan
File diff suppressed because it is too large
Load Diff
16
src/_node
16
src/_node
|
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Node.js v26.1.0 (https://nodejs.org)
|
||||
# Completion script for Node.js v26.4.0 (https://nodejs.org)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
@ -87,6 +87,19 @@ _node() {
|
|||
)
|
||||
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
|
||||
|
||||
_arguments \
|
||||
|
|
@ -274,6 +287,7 @@ _node() {
|
|||
'--watch-preserve-output[preserve outputs on watch mode restart]' \
|
||||
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
|
||||
$v8_options[@] \
|
||||
$inspect_options[@] \
|
||||
'(- 1 *)'{-h,--help}'[print node command line options]' \
|
||||
'(- 1 *)'{-v,--version}'[print Node.js version]' \
|
||||
'*: :_node_args' && ret=0
|
||||
|
|
|
|||
Loading…
Reference in New Issue