Commit 82fbedc
src: port --bash-completion to C++
So that it gets handle earlier and faster during the bootstrap
process.
Drive-by fixes:
- Remove `[has_eval_string]` and `[ssl_openssl_cert_store]` from
the completion output
- Set `kProfProcess` execution mode for `--prof-process` instead
of `kPrintBashProcess` which is removed in this patch.
- Append new line to the end of the output of --bash-completion
PR-URL: #25901
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 5c522dd commit 82fbedcCopy full SHA for 82fbedc
File tree
Expand file treeCollapse file tree
6 files changed
+69
-39
lines changedOpen diff view settings
Filter options
- lib/internal/main
- src
- test/parallel
Expand file treeCollapse file tree
6 files changed
+69
-39
lines changedOpen diff view settings
Collapse file
lib/internal/main/print_bash_completion.js
Copy file name to clipboardExpand all lines: lib/internal/main/print_bash_completion.js-29Lines changed: 0 additions & 29 deletions
This file was deleted.
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
139 | 139 | |
140 | 140 | |
141 | 141 | |
142 | | - |
143 | 142 | |
144 | 143 | |
145 | 144 | |
|
Collapse file
+12-3Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
400 | 400 | |
401 | 401 | |
402 | 402 | |
403 | | - |
404 | | - |
405 | | - |
406 | 403 | |
407 | 404 | |
408 | 405 | |
| ||
875 | 872 | |
876 | 873 | |
877 | 874 | |
| 875 | + |
| 876 | + |
| 877 | + |
| 878 | + |
| 879 | + |
| 880 | + |
878 | 881 | |
879 | 882 | |
880 | 883 | |
| ||
944 | 947 | |
945 | 948 | |
946 | 949 | |
| 950 | + |
| 951 | + |
| 952 | + |
| 953 | + |
| 954 | + |
| 955 | + |
947 | 956 | |
948 | 957 | |
949 | 958 | |
|
Collapse file
+39Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
| 8 | + |
7 | 9 | |
8 | 10 | |
9 | 11 | |
| ||
843 | 845 | |
844 | 846 | |
845 | 847 | |
| 848 | + |
| 849 | + |
| 850 | + |
| 851 | + |
| 852 | + |
| 853 | + |
| 854 | + |
| 855 | + |
| 856 | + |
| 857 | + |
| 858 | + |
| 859 | + |
| 860 | + |
| 861 | + |
| 862 | + |
| 863 | + |
| 864 | + |
| 865 | + |
| 866 | + |
| 867 | + |
| 868 | + |
| 869 | + |
| 870 | + |
| 871 | + |
| 872 | + |
| 873 | + |
| 874 | + |
| 875 | + |
| 876 | + |
| 877 | + |
| 878 | + |
| 879 | + |
| 880 | + |
| 881 | + |
| 882 | + |
| 883 | + |
| 884 | + |
846 | 885 | |
847 | 886 | |
848 | 887 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
253 | 253 | |
254 | 254 | |
255 | 255 | |
| 256 | + |
256 | 257 | |
257 | 258 | |
258 | 259 | |
| ||
436 | 437 | |
437 | 438 | |
438 | 439 | |
| 440 | + |
439 | 441 | |
440 | 442 | |
441 | 443 | |
|
Collapse file
test/parallel/test-bash-completion.js
Copy file name to clipboardExpand all lines: test/parallel/test-bash-completion.js+16-6Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
10 | | - |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
11 | 15 | |
12 | 16 | |
13 | 17 | |
14 | | - |
15 | | - |
16 | | - |
| 18 | + |
| 19 | + |
17 | 20 | |
18 | 21 | |
19 | 22 | |
20 | 23 | |
21 | 24 | |
22 | 25 | |
23 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
0 commit comments