fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
f7966b324
master
1# Completions for the F# Compiler 2# See: https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-options 3 4# Output files 5complete -c fsharpc -o"o:" -l"out:" -d"Name of the output file" 6complete -c fsharpc -o"a:exe" -l"target:exe" -d"Build a console executable" 7complete -c fsharpc -o"a:winexe" -l"target:winexe" -d"Build a Windows executable" 8complete -c fsharpc -o"a:library" -l"target:library" -d"Build a library" 9complete -c fsharpc -o"a:module" -l"target:module" -d"Build a module that can be added to another assembly" 10complete -c fsharpc -l delaysign -l"delaysign+" -d"Delay-sign the assembly using only the public portion of the strong name key" 11complete -c fsharpc -l delaysign- -d"Disable --delaysign" 12complete -c fsharpc -l"doc:" -d"Write the xmldoc of the assembly to the given file" 13complete -c fsharpc -l"keyfile:" -d"Specify a strong name key file" 14complete -c fsharpc -l"keycontainer:" -d"Specify a strong name key container" 15complete -c fsharpc -l"platform:x86" -d"Limit the platform to x86" 16complete -c fsharpc -l"platform:Itanium" -d"Limit the platform to Itanium" 17complete -c fsharpc -l"platform:x64" -d"Limit the platform to x64" 18complete -c fsharpc -l"platform:anycpu32bitpreferred" -d"Limit the platform to anycpu32bitpreferred" 19complete -c fsharpc -l"platform:anycpu" -d"Limit the platform to anycpu (default)" 20complete -c fsharpc -l nooptimizationdata -d"Only include optimization information for inlined constructs" 21complete -c fsharpc -l nointerfacedata -d"Don't add a resource to the assembly containing F#-specific metadata" 22complete -c fsharpc -l"sig:" -d"Print the inferred interface of the assembly to a file" 23 24# Input files 25complete -c fsharpc -o"r:" -l"reference:" -d"Reference an assembly" 26 27# Resources 28complete -c fsharpc -l"win32res:" -d"Specify a Win32 resource file (.res)" 29complete -c fsharpc -l"win32manifest:" -d"Specify a Win32 manifest file" 30complete -c fsharpc -l nowin32manifest -d"Do not include the default Win32 manifest" 31complete -c fsharpc -l"resource:" -d"Embed the specified managed resource" 32complete -c fsharpc -l"linkresource:" -d"Link the specified resource to this assembly" 33 34# Code generation 35complete -c fsharpc -s g -o"g+" -l debug -l"debug+" -d"Emit debug information" 36complete -c fsharpc -o g- -l debug- -d"Disable --debug" 37for argumentsin full pdbonly portable embedded 38complete -c fsharpc -o"g: $arguments " -l"debug: $arguments " -d"Specify debugging type" 39end 40 41complete -c fsharpc -s O -o"O+" -l optimize -l"optimize+" -d"Enable optimizations" 42complete -c fsharpc -o O- -l optimize- -d"Disable --optimize" 43complete -c fsharpc -l tailcalls -l"tailcalls+" -d"Enable or disable tailcalls" 44complete -c fsharpc -l tailcalls- -d"Disable --tailcalls" 45complete -c fsharpc -l deterministic -l"deterministic+" -d"Produce a deterministic assembly" 46complete -c fsharpc -l deterministic- -d"Disable --deterministic" 47complete -c fsharpc -l crossoptimize -l"crossoptimize+" -d"Enable or disable cross-module optimizations" 48complete -c fsharpc -l crossoptimize- -d"Disable --crossoptimize" 49 50# Errors and warnings 51complete -c fsharpc -l warnaserror -l"warnaserror+" -d"Report all warnings as errors" 52complete -c fsharpc -l warnaserror- -d"Disable --warnaserror" 53complete -c fsharpc -l"warnaserror:" -l"warnaserror+:" -d"Report specific warnings as errors" 54complete -c fsharpc -l"warnaserror-:" -d"Disable --warnaserror:" 55 56for warning_levelin ( seq 0 5 ) 57complete -c fsharpc -l"warn: $warning_level " -d"Set a warning level to $warning_level " 58end 59 60complete -c fsharpc -l"nowarn:" -d"Disable specific warning messages" 61complete -c fsharpc -l"warnon:" -d"Enable specific warnings that may be off by default" 62complete -c fsharpc -l consolecolors -l"consolecolors+" -d"Output warning and error messages in color" 63complete -c fsharpc -l consolecolors- -d"Disable --consolecolors" 64 65# Language 66complete -c fsharpc -l checked -l"checked+" -d"Generate overflow checks" 67complete -c fsharpc -l checked- -d"Disable --checked" 68complete -c fsharpc -o"d:" -l"define:" -d"Define conditional compilation symbols" 69complete -c fsharpc -l mlcompatibility -d"Ignore ML compatibility warnings" 70 71# Miscellaneous 72complete -c fsharpc -l nologo -d"Suppress compiler copyright message" 73complete -c fsharpc -s"?" -l help -d"Display this usage message" 74 75# Advanced 76complete -c fsharpc -l"codepage:" -d"Specify the codepage used to read source files" 77complete -c fsharpc -l utf8output -d"Output messages in UTF-8 encoding" 78complete -c fsharpc -l fullpaths -d"Output messages with fully qualified paths" 79complete -c fsharpc -o"I:" -l"lib:" -d"Specify a directory for include path for resolving source files and assemblies" 80complete -c fsharpc -l simpleresolution -d"Resolve assembly references using directory-based rules" 81complete -c fsharpc -l"baseaddress:" -d"Base address for the library to be built" 82complete -c fsharpc -l noframework -d"Do not reference the default CLI assemblies by default" 83complete -c fsharpc -l standalone -d"Statically link F# library and referenced DLLs into the generated assembly" 84complete -c fsharpc -l"staticlink:" -d"Statically link the assembly and referenced DLLs that depend on this assembly" 85complete -c fsharpc -l"pdb:" -d"Name the output debug file" 86complete -c fsharpc -l highentropyva -l"highentropyva+" -d"Enable high-entropy ASLR" 87complete -c fsharpc -l highentropyva- -d"Disable --highentropyva" 88complete -c fsharpc -l"subsystemversion:" -d"Specify subsystem version of this assembly" 89complete -c fsharpc -l quotations-debug -l"quotations-debug+" -d"Emit debug information in quotations" 90complete -c fsharpc -l quotations-debug- -d"Disable --quotations-debug"