fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
f5e063a46
master
1# Define the completions for the qjsc command 2# QuickJS Compiler version 2021-03-27 3# usage: qjsc [options] [files] 4 5# options are: 6# -c only output bytecode in a C file 7# -e output main() and bytecode in a C file (default = executable output) 8# -o output set the output filename 9# -N cname set the C name of the generated data 10# -m compile as Javascript module (default=autodetect) 11# -D module_name compile a dynamically loaded module or worker 12# -M module_name[,cname] add initialization code for an external C module 13# -x byte swapped output 14# -p prefix set the prefix of the generated C names 15# -S n set the maximum stack size to 'n' bytes (default=262144) 16# -flto use link time optimization 17# -fbignum enable bignum extensions 18# -fno-[date|eval|string-normalize|regexp|json|proxy|map|typedarray|promise|module-loader|bigint] 19# disable selected language features (smaller code size) 20# from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=quickjs 2021.03.27 21 22complete -c qjsc -s c -d'Only output bytecode in a C file' 23complete -c qjsc -s e -d'Output main() and bytecode in a C file (default = executable output)' 24complete -c qjsc -s o -r -d'Set the output filename' 25complete -c qjsc -s N -r -d'Set the C name of the generated data' 26complete -c qjsc -s m -d'Compile as Javascript module (default=autodetect)' 27complete -c qjsc -s D -r -d'Compile a dynamically loaded module or worker' 28complete -c qjsc -s M -r -d'Add initialization code for an external C module' 29complete -c qjsc -s x -d'Byte swapped output' 30complete -c qjsc -s p -r -d'Set the prefix of the generated C names' 31complete -c qjsc -s S -r -d'Set the maximum stack size to ' n' bytes (default=262144)' 32complete -c qjsc -o flto -d'Use link time optimization' 33complete -c qjsc -o fbignum -d'Enable bignum extensions' 34complete -c qjsc -o fno-date -d'Disable the date extension' 35complete -c qjsc -o fno-eval -d'Disable the eval extension' 36complete -c qjsc -o fno-string-normalize -d'Disable the string normalize extension' 37complete -c qjsc -o fno-regexp -d'Disable the regexp extension' 38complete -c qjsc -o fno-json -d'Disable the JSON extension' 39complete -c qjsc -o fno-proxy -d'Disable the proxy extension' 40complete -c qjsc -o fno-map -d'Disable the Map extension' 41complete -c qjsc -o fno-typedarray -d'Disable the Typed Array extension' 42complete -c qjsc -o fno-promise -d'Disable the Promise extension' 43complete -c qjsc -o fno-module-loader -d'Disable the module loader extension' 44complete -c qjsc -o fno-bigint -d'Disable the BigInt extension'