fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian Boehmcompletions: More shortening5dc07c9e7

master
15.5 KiB202 linesraw
1#
2# Command specific completions for the node command.
3# These completions were generated from the commands
4# man page by the make_completions.py script, but has
5# been hand edited since.
6#
7
8# the four main options, each with a short & long flag
9complete -x -c node -s v -n '__fish_not_contain_opt -s p -s i -s e eval print interactive' -l version -d "Print node's version"
10complete -c node -n '__fish_not_contain_opt -s v -s p -s i version print interactive' -r -s e -l eval -d 'Evaluate script'
11complete -c node -n '__fish_not_contain_opt -s v -s e -s i version eval interactive' -r -s p -l print -d 'Print result of --eval'
12complete -c node -n '__fish_not_contain_opt -s v -s p -s e version print eval' -s i -l interactive -d 'Always enter the REPL even if stdin does not appear to be a terminal'
13
14# longer options related to V8, ES5, logging, etc.
15complete -c node -l no-deprecation -d 'Silence deprecation warnings'
16complete -c node -l trace-deprecation -d 'Show stack traces on deprecations'
17complete -c node -l throw-deprecation -d 'Throw errors on deprecations'
18complete -c node -l v8-options -d 'Print v8 command line options'
19complete -c node -l max-stack-size -d 'Set max v8 stack size (bytes)'
20complete -c node -l use_strict -d 'enforce strict mode'
21complete -c node -l es5_readonly -d 'activate correct semantics for inheriting readonliness'
22complete -c node -l es52_globals -d 'activate new semantics for global var declarations'
23complete -c node -l harmony_typeof -d 'enable harmony semantics for typeof'
24complete -c node -l harmony_scoping -d 'enable harmony block scoping'
25complete -c node -l harmony_modules -d 'enable harmony modules (implies block scoping)'
26complete -c node -l harmony_proxies -d 'enable harmony proxies'
27complete -c node -l harmony_collections -d 'enable harmony collections (sets, maps, and weak maps)'
28complete -c node -l harmony -d 'enable all harmony features (except typeof)'
29complete -c node -l packed_arrays -d 'optimizes arrays that have no holes'
30complete -c node -l smi_only_arrays -d 'tracks arrays with only smi values'
31complete -c node -l clever_optimizations -d 'Optimize object size, Array shift, DOM strings and string +'
32complete -c node -l unbox_double_arrays -d 'automatically unbox arrays of doubles'
33complete -c node -l string_slices -d 'use string slices'
34complete -c node -l crankshaft -d 'use crankshaft'
35complete -c node -l hydrogen_filter -d 'optimization filter'
36complete -c node -l use_range -d 'use hydrogen range analysis'
37complete -c node -l eliminate_dead_phis -d 'eliminate dead phis'
38complete -c node -l use_gvn -d 'use hydrogen global value numbering'
39complete -c node -l use_canonicalizing -d 'use hydrogen instruction canonicalizing'
40complete -c node -l use_inlining -d 'use function inlining'
41complete -c node -l max_inlined_source_size -d 'max source size in bytes considered for single inlining'
42complete -c node -l max_inlined_nodes -d 'max number of AST nodes considered for single inlining'
43complete -c node -l max_inlined_nodes_cumulative -d 'max cumulative number of AST nodes considered for inlining'
44complete -c node -l loop_invariant_code_motion -d 'loop invariant code motion'
45complete -c node -l collect_megamorphic_maps_from_stub_cache -d 'crankshaft harvests type feedback from stub cache'
46complete -c node -l hydrogen_stats -d 'print statistics for hydrogen'
47complete -c node -l trace_hydrogen -d 'trace generated hydrogen to file'
48complete -c node -l trace_phase -d 'trace generated IR for specified phases'
49complete -c node -l trace_inlining -d 'trace inlining decisions'
50complete -c node -l trace_alloc -d 'trace register allocator'
51complete -c node -l trace_all_uses -d 'trace all use positions'
52complete -c node -l trace_range -d 'trace range analysis'
53complete -c node -l trace_gvn -d 'trace global value numbering'
54complete -c node -l trace_representation -d 'trace representation types'
55complete -c node -l stress_pointer_maps -d 'pointer map for every instruction'
56complete -c node -l stress_environments -d 'environment for every instruction'
57complete -c node -l deopt_every_n_times -d 'deoptimize every n times a deopt point is passed'
58complete -c node -l trap_on_deopt -d 'put a break point before deoptimizing'
59complete -c node -l deoptimize_uncommon_cases -d 'deoptimize uncommon cases'
60complete -c node -l polymorphic_inlining -d 'polymorphic inlining'
61complete -c node -l use_osr -d 'use on-stack replacement'
62complete -c node -l array_bounds_checks_elimination -d 'perform array bounds checks elimination'
63complete -c node -l array_index_dehoisting -d 'perform array index dehoisting'
64complete -c node -l trace_osr -d 'trace on-stack replacement'
65complete -c node -l stress_runs -d 'number of stress runs'
66complete -c node -l optimize_closures -d 'optimize closures'
67complete -c node -l inline_construct -d 'inline constructor calls'
68complete -c node -l inline_arguments -d 'inline functions with arguments object'
69complete -c node -l loop_weight -d 'loop weight for representation inference'
70complete -c node -l optimize_for_in -d 'optimize functions containing for-in loops'
71complete -c node -l experimental_profiler -d 'enable all profiler experiments'
72complete -c node -l watch_ic_patching -d 'profiler considers IC stability'
73complete -c node -l frame_count -d 'number of stack frames inspected by the profiler'
74complete -c node -l self_optimization -d 'primitive functions trigger their own optimization'
75complete -c node -l direct_self_opt -d 'call recompile stub directly when self-optimizing'
76complete -c node -l retry_self_opt -d 're-try self-optimization if it failed'
77complete -c node -l count_based_interrupts -d 'trigger profiler ticks based on counting instead of timing'
78complete -c node -l interrupt_at_exit -d 'insert an interrupt check at function exit'
79complete -c node -l weighted_back_edges -d 'weight back edges by jump distance for interrupt triggering'
80complete -c node -l interrupt_budget -d 'execution budget before interrupt is triggered'
81complete -c node -l type_info_threshold -d '% of ICs that must have type info to allow optimization'
82complete -c node -l self_opt_count -d 'call count before self-optimization'
83complete -c node -l trace_opt_verbose -d 'extra verbose compilation tracing'
84complete -c node -l debug_code -d 'generate extra code (assertions) for debugging'
85complete -c node -l code_comments -d 'emit comments in code disassembly'
86complete -c node -l enable_sse2 -d 'enable use of SSE2 instructions if available'
87complete -c node -l enable_sse3 -d 'enable use of SSE3 instructions if available'
88complete -c node -l enable_sse4_1 -d 'enable use of SSE4'
89complete -c node -l enable_cmov -d 'enable use of CMOV instruction if available'
90complete -c node -l enable_rdtsc -d 'enable use of RDTSC instruction if available'
91complete -c node -l enable_sahf -d 'enable use of SAHF instruction if available (X64 only)'
92complete -c node -l enable_vfp3 -d 'enable use of VFP3 instructions if available (ARM only)'
93complete -c node -l enable_armv7 -d 'enable use of ARMv7 instructions if available (ARM only)'
94complete -c node -l enable_fpu -d 'enable use of MIPS FPU instructions if available (MIPS only)'
95complete -c node -l expose_natives_as -d 'expose natives in global object'
96complete -c node -l expose_debug_as -d 'expose debug in global object'
97complete -c node -l expose_gc -d 'expose gc extension'
98complete -c node -l expose_externalize_string -d 'expose externalize string extension'
99complete -c node -l stack_trace_limit -d 'number of stack frames to capture'
100complete -c node -l builtins_in_stack_traces -d 'show built-in functions in stack traces'
101complete -c node -l disable_native_files -d 'disable builtin natives files'
102complete -c node -l inline_new -d 'use fast inline allocation'
103complete -c node -l stack_trace_on_abort -d 'print a stack trace if an assertion failure occurs'
104complete -c node -l trace -d 'trace function calls'
105complete -c node -l mask_constants_with_cookie -d 'use random jit cookie to mask large constants'
106complete -c node -l lazy -d 'use lazy compilation'
107complete -c node -l trace_opt -d 'trace lazy optimization'
108complete -c node -l trace_opt_stats -d 'trace lazy optimization statistics'
109complete -c node -l opt -d 'use adaptive optimizations'
110complete -c node -l always_opt -d 'always try to optimize functions'
111complete -c node -l prepare_always_opt -d 'prepare for turning on always opt'
112complete -c node -l sparkplug -d 'use non-optimizing sparkplug compiler'
113complete -c node -l always_sparkplug -d 'always use non-optimizing sparkplug compiler'
114complete -c node -l trace_deopt -d 'trace deoptimization'
115complete -c node -l min_preparse_length -d 'minimum length for automatic enable preparsing'
116complete -c node -l always_full_compiler -d 'try to use the dedicated run-once backend for all code'
117complete -c node -l trace_bailout -d 'print reasons for falling back to the classic V8 backend'
118complete -c node -l compilation_cache -d 'enable compilation cache'
119complete -c node -l cache_prototype_transitions -d 'cache prototype transitions'
120complete -c node -l trace_debug_json -d 'trace debugging JSON request/response'
121complete -c node -l debugger_auto_break -d 'autoset debug break flag when debugger commands are in queue'
122complete -c node -l enable_liveedit -d 'enable liveedit experimental feature'
123complete -c node -l break_on_abort -d 'always cause a debug break before aborting'
124complete -c node -l stack_size -d 'default size of stack region v8 is allowed to use (in kBs)'
125complete -c node -l max_stack_trace_source_length -d 'max length of function source code printed in stack trace'
126complete -c node -l always_inline_smi_code -d 'always inline smi code in non-opt code'
127complete -c node -l max_new_space_size -d 'max size of the new generation (in kBytes)'
128complete -c node -l max_old_space_size -d 'max size of the old generation (in Mbytes)'
129complete -c node -l max_executable_size -d 'max size of executable memory (in Mbytes)'
130complete -c node -l gc_global -d 'always perform global GCs'
131complete -c node -l gc_interval -d 'garbage collect after <n> allocations'
132complete -c node -l trace_gc -d 'print 1 trace line following each garbage collection'
133complete -c node -l trace_gc_nvp -d 'print 1 full trace(w/ name=value) after garbage collections'
134complete -c node -l print_cumulative_gc_stat -d 'print cumulative GC statistics(w/ name=value) on exit'
135complete -c node -l trace_gc_verbose -d 'print more details following each garbage collection'
136complete -c node -l trace_fragmentation -d 'report fragmentation for old pointer and data pages'
137complete -c node -l collect_maps -d 'garbage collect maps from which no objects can be reached'
138complete -c node -l flush_code -d 'flush code that we expect not to use again before full gc'
139complete -c node -l incremental_marking -d 'use incremental marking'
140complete -c node -l incremental_marking_steps -d 'do incremental marking steps'
141complete -c node -l trace_incremental_marking -d 'trace progress of the incremental marking'
142complete -c node -l use_idle_notification -d 'Use idle notification to reduce memory footprint'
143complete -c node -l send_idle_notification -d 'Send idle notification between stress runs'
144complete -c node -l use_ic -d 'use inline caching'
145complete -c node -l native_code_counters -d 'generate extra code for manipulating stats counters'
146complete -c node -l always_compact -d 'Perform compaction on every full GC'
147complete -c node -l lazy_sweeping -d 'Use lazy sweeping for old pointer and data spaces'
148complete -c node -l never_compact -d 'Never perform compaction on full GC - testing only'
149complete -c node -l compact_code_space -d 'Compact code space on full non-incremental collections'
150complete -c node -l cleanup_code_caches_at_gc -d 'Flush inline/code caches prior to mark compact collection/cycle'
151complete -c node -l random_seed -d 'Default seed for random generator init(0:default-sys random)'
152complete -c node -l use_verbose_printer -d 'allows verbose printing'
153complete -c node -l allow_natives_syntax -d 'allow natives syntax'
154complete -c node -l trace_sim -d 'Trace simulator execution'
155complete -c node -l check_icache -d 'Check icache flushes in ARM and MIPS simulator'
156complete -c node -l stop_sim_at -d 'Simulator stop after x number of instructions'
157complete -c node -l sim_stack_alignment -d 'Stack alignment in bytes in simulator (4/8, 8 is default)'
158complete -c node -l trace_exception -d 'print stack trace when throwing exceptions'
159complete -c node -l preallocate_message_memory -d 'preallocate some memory to build stack traces'
160complete -c node -l randomize_hashes -d 'randomize hashes(w/ snapshots cannot override baked-in seed)'
161complete -c node -l hash_seed -d 'Fix seed to hash prop. key(w/ snapshots no BI seed overr.)'
162complete -c node -l preemption -d 'activate a 100ms timer that switches between V8 threads'
163complete -c node -l regexp_optimization -d 'generate optimized regexp code'
164complete -c node -l testing_bool_flag -d testing_bool_flag
165complete -c node -l testing_int_flag -d testing_int_flag
166complete -c node -l testing_float_flag -d float-flag
167complete -c node -l testing_string_flag -d string-flag
168complete -c node -l testing_prng_seed -d 'Seed used for threading test randomness'
169complete -c node -l testing_serialization_file -d 'file in which to serialize heap'
170complete -c node -l help -d 'Print usage message, including flags, on console'
171complete -c node -l dump_counters -d 'Dump counters on exit'
172complete -c node -l debugger -d 'Enable JavaScript debugger'
173complete -c node -l remote_debugger -d 'Connect JS debugger to the debugger agent in another process'
174complete -c node -l debugger_agent -d 'Enable debugger agent'
175complete -c node -l debugger_port -d 'Port to use for remote debugging'
176complete -c node -l map_counters -d 'Map counters to a file'
177complete -c node -l js_arguments -d 'Pass all remaining arguments to the script'
178complete -c node -l debug_compile_events -d 'Enable debugger compile events'
179complete -c node -l debug_script_collected_events -d 'Enable debugger script collected events'
180complete -c node -l gdbjit -d 'enable GDBJIT interface (disables compacting GC)'
181complete -c node -l gdbjit_full -d 'enable GDBJIT interface for all code objects'
182complete -c node -l gdbjit_dump -d 'dump elf objects with debug info to disk'
183complete -c node -l gdbjit_dump_filter -d 'dump only objects containing this substring'
184complete -c node -l force_marking_deque_overflows -d 'force overflow of marking deque by reducing size to 64 words'
185complete -c node -l stress_compaction -d 'stress the GC compactor to flush out bugs'
186complete -c node -l log -d 'Minimal logging (no API,code,GC,suspect,or handles samples)'
187complete -c node -l log_all -d 'Log all events to the log file'
188complete -c node -l log_runtime -d 'Activate runtime system %Log call'
189complete -c node -l log_api -d 'Log API events to the log file'
190complete -c node -l log_code -d 'Log code events to the log file without profiling'
191complete -c node -l log_gc -d 'Log heap samples on garbage collection for the hp2ps tool'
192complete -c node -l log_handles -d 'Log global handle events'
193complete -c node -l log_snapshot_positions -d 'log positions of (de)serialized objects in the snapshot'
194complete -c node -l log_suspect -d 'Log suspect operations'
195complete -c node -l prof -d 'Log statistical profiling information (implies --log-code)'
196complete -c node -l prof_auto -d 'Used w/ --prof,starts profiling automatically)'
197complete -c node -l prof_lazy -d 'Used w/ --prof,only samples and logs w/ active profiler'
198complete -c node -l prof_browser_mode -d 'Used w/ --prof,set on browser-compatible mode for profiling'
199complete -c node -l log_regexp -d 'Log regular expression execution'
200complete -c node -l sliding_state_window -d 'Update sliding state window counters'
201complete -c node -l logfile -d 'Specify the name of the log file'
202complete -c node -l ll_prof -d 'Enable low-level linux profiler'