mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:29:16 +08:00
Shorten completions for vbc and pydf (#7859)
This commit is contained in:
parent
0f3274d5eb
commit
a0f05b376e
|
@ -12,6 +12,6 @@ complete -c pydf -s m -l megabytes -d 'like --block-size=1048576'
|
|||
complete -c pydf -s g -l gigabytes -d 'like --block-size=1073741824'
|
||||
complete -c pydf -l blocks -d 'use filesystem native block size'
|
||||
complete -c pydf -l bw -d 'do not use colours'
|
||||
complete -c pydf -l mounts -r -d 'file to get mount information from. On normal Linux systems only /etc/mtab or /proc/mounts make sense. Some other Unices use /etc/mnttab. Use /proc/mounts when /etc/mtab is corrupted or inaccessible (the output looks a bit weird in this case).'
|
||||
complete -c pydf -l mounts -r -d 'file to get mount information from'
|
||||
complete -c pydf -s B -l show-binds -d 'show \'mount --bind\' mounts'
|
||||
complete -c pydf -s i -l inodes -d 'show inode instead of block usage'
|
||||
|
|
|
@ -21,30 +21,30 @@ complete -c vbc -o optimize- -d "Disable optimizations"
|
|||
# Output files
|
||||
complete -c vbc -o doc -o "doc:" -o "doc+" -d "Process documentation comments to an XML file"
|
||||
complete -c vbc -o doc- -d "Disable -doc"
|
||||
complete -c vbc -o deterministic -d "Causes the compiler to output an assembly whose binary content is identical across compilations if inputs are identical"
|
||||
complete -c vbc -o deterministic -d "Output identical assemblies for identical inputs"
|
||||
complete -c vbc -o netcf -d "Sets the compiler to target the .NET Compact Framework"
|
||||
complete -c vbc -o "out:" -d "Specifies an output file"
|
||||
complete -c vbc -o refonly -d "Outputs only a reference assembly"
|
||||
complete -c vbc -o "refout:" -d "Specifies the output path of a reference assembly"
|
||||
complete -c vbc -o "t:exe" -o "target:exe" -d "Causes the compiler to create an executable console application (default)"
|
||||
complete -c vbc -o "t:library" -o "target:library" -d "Causes the compiler to create a dynamic-link library (DLL)"
|
||||
complete -c vbc -o "t:module" -o "target:module" -d "Causes the compiler to generate a module that can be added to an assembly"
|
||||
complete -c vbc -o "t:winexe" -o "target:winexe" -d "Causes the compiler to create an executable Windows-based application"
|
||||
complete -c vbc -o "t:appcontainerexe" -o "target:appcontainerexe" -d "Causes the compiler to create an executable Windows-based application that must be run in an app container"
|
||||
complete -c vbc -o "t:winmdobj" -o "target:winmdobj" -d "Causes the compiler to create an intermediate file that you can convert to a Windows Runtime binary (.winmd) file"
|
||||
complete -c vbc -o "t:exe" -o "target:exe" -d "Create a console application"
|
||||
complete -c vbc -o "t:library" -o "target:library" -d "Create a dynamic-link library"
|
||||
complete -c vbc -o "t:module" -o "target:module" -d "Create a module that can be added to an assembly"
|
||||
complete -c vbc -o "t:winexe" -o "target:winexe" -d "Create Windows application"
|
||||
complete -c vbc -o "t:appcontainerexe" -o "target:appcontainerexe" -d "Create Windows application that must be run in an app container"
|
||||
complete -c vbc -o "t:winmdobj" -o "target:winmdobj" -d "Create an intermediate file that can be converted to .winmd file"
|
||||
|
||||
# .NET assemblies
|
||||
complete -c vbc -o "addmodule:" -d "Causes the compiler to make all type information from the specified file(s) available to the project you are currently compiling"
|
||||
complete -c vbc -o "addmodule:" -d "Add type information from provided files to the project"
|
||||
complete -c vbc -o delaysign -o "delaysign+" -d "Specifies whether the assembly will be fully or partially signed"
|
||||
complete -c vbc -o delaysign- -d "Disable -delaysign"
|
||||
complete -c vbc -o "imports:" -d "Imports a namespace from a specified assembly"
|
||||
complete -c vbc -o "keycontainer:" -d "Specifies a key container name for a key pair to give an assembly a strong name"
|
||||
complete -c vbc -o "keyfile:" -d "Specifies a file containing a key or key pair to give an assembly a strong name"
|
||||
complete -c vbc -o "keycontainer:" -d "Specify a strong name key container"
|
||||
complete -c vbc -o "keyfile:" -d "Specify a strong name key file"
|
||||
complete -c vbc -o "libpath:" -d "Specifies the location of assemblies referenced by the -reference option"
|
||||
complete -c vbc -o "r:" -o "reference:" -d "Imports metadata from an assembly"
|
||||
complete -c vbc -o "moduleassemblyname:" -d "Specifies the name of the assembly that a module will be a part of"
|
||||
complete -c vbc -o "a:" -o "analyzer:" -d "Run the analyzers from this assembly"
|
||||
complete -c vbc -o "additionalfile:" -d "Names additional files that don't directly affect code generation but may be used by analyzers for producing errors or warnings"
|
||||
complete -c vbc -o "additionalfile:" -d "Files that analyzers can use to generate error or warning"
|
||||
|
||||
# Debugging/error checking
|
||||
complete -c vbc -o "bugreport:" -d "Creates a file that contains information that makes it easy to report a bug"
|
||||
|
@ -56,7 +56,7 @@ end
|
|||
complete -c vbc -o debug- -d "Disable -debug"
|
||||
|
||||
complete -c vbc -o nowarn -o "nowarn:" -d "Suppresses the compiler's ability to generate warnings"
|
||||
complete -c vbc -o quiet -d "Prevents the compiler from displaying code for syntax-related errors and warnings"
|
||||
complete -c vbc -o quiet -d "Don't display code for syntax-related errors and warnings"
|
||||
complete -c vbc -o removeintchecks -o "removeintchecks+" -d "Disables integer overflow checking"
|
||||
complete -c vbc -o removeintchecks- -d "Disable -removeintchecks"
|
||||
complete -c vbc -o warnaserror -o "warnaserror:" -o "warnaserror+" -o "warnaserror+:" -d "Promotes warnings to errors"
|
||||
|
@ -89,7 +89,7 @@ complete -c vbc -o optionstrict -o "optionstrict+" -o "optionstrict:" -d "Enforc
|
|||
complete -c vbc -o optionstrict- -d "Disable -optionstrict"
|
||||
|
||||
for arguments in binary text
|
||||
complete -c vbc -o "optioncompare:$arguments" -d "Specifies whether string comparisons should be binary or use locale-specific text semantics"
|
||||
complete -c vbc -o "optioncompare:$arguments" -d "Specify string comparison mode: text or binary"
|
||||
end
|
||||
|
||||
complete -c vbc -o optioninfer -o "optioninfer+" -d "Enables the use of local type inference in variable declarations"
|
||||
|
@ -106,35 +106,35 @@ complete -c vbc -o "win32resource:" -d "Inserts a Win32 resource into the output
|
|||
|
||||
# Miscellaneous
|
||||
complete -c vbc -o "baseaddress:" -d "Specifies the base address of a DLL"
|
||||
complete -c vbc -o "codepage:" -d "Specifies the code page to use for all source code files in the compilation"
|
||||
complete -c vbc -o "codepage:" -d "Specify the code page for source code files"
|
||||
|
||||
for arguments in prompt queue send none
|
||||
complete -c vbc -o "errorreport:$arguments" -d "Specifies how the Visual Basic compiler should report internal compiler errors"
|
||||
complete -c vbc -o "errorreport:$arguments" -d "Specify how to report internal compiler errors"
|
||||
end
|
||||
|
||||
complete -c vbc -o highentropyva -o "highentropyva+" -d "Tells the Windows kernel whether a particular executable supports high entropy Address Space Layout Randomization (ASLR)"
|
||||
complete -c vbc -o highentropyva -o "highentropyva+" -d "Specify if an executable supports high entropy ASLR"
|
||||
complete -c vbc -o highentropyva- -d "Disable -highentropyva"
|
||||
complete -c vbc -o "m:" -o "main:" -d "Specifies the class that contains the Sub Main procedure to use at startup"
|
||||
complete -c vbc -o noconfig -d "Do not compile with Vbc.rsp"
|
||||
complete -c vbc -o nostdlib -d "Causes the compiler not to reference the standard libraries"
|
||||
complete -c vbc -o nowin32manifest -d "Instructs the compiler not to embed any application manifest into the executable file"
|
||||
complete -c vbc -o "platform:x86" -d "Specify x86 as the processor platform the compiler targets for the output file"
|
||||
complete -c vbc -o "platform:x64" -d "Specify AMD64 or EM64T as the processor platform the compiler targets for the output file"
|
||||
complete -c vbc -o "platform:Itanium" -d "Specify Itanium as the processor platform the compiler targets for the output file"
|
||||
complete -c vbc -o "platform:arm" -d "Specify ARM as the processor platform the compiler targets for the output file"
|
||||
complete -c vbc -o "platform:anycpu" -d "Specify any platform as the processor platform the compiler targets for the output file (default)"
|
||||
complete -c vbc -o "platform:anycpu32bitpreferred" -d "Specify any platform as the processor platform the compiler targets for the output file"
|
||||
complete -c vbc -o nowin32manifest -d "Don't embed any application manifest into the executable"
|
||||
complete -c vbc -o "platform:x86" -d "Specify x86 as target platform"
|
||||
complete -c vbc -o "platform:x64" -d "Specify AMD64 or EM64T as target platform"
|
||||
complete -c vbc -o "platform:Itanium" -d "Specify Itanium as target platform"
|
||||
complete -c vbc -o "platform:arm" -d "Specify ARM as target platform"
|
||||
complete -c vbc -o "platform:anycpu" -d "Specify any platform as target"
|
||||
complete -c vbc -o "platform:anycpu32bitpreferred" -d "Specify any platform as target (32-bit process on 64-bit machine)"
|
||||
complete -c vbc -o "recurse:" -d "Searches subdirectories for source files to compile"
|
||||
complete -c vbc -o "rootnamespace:" -d "Specifies a namespace for all type declarations"
|
||||
complete -c vbc -o "sdkpath:" -d "Specifies the location of Mscorlib.dll and Microsoft.VisualBasic.dll"
|
||||
|
||||
complete -c vbc -o "vbruntime:" -d "Specifies that the compiler should compile without a reference to the Visual Basic Runtime Library, or with a reference to a specific runtime library"
|
||||
complete -c vbc -o "vbruntime:" -d "Specify reference to VB Runtime Library or disable library referencing"
|
||||
for arguments in - + "*"
|
||||
complete -c vbc -o "vbruntime:$arguments" -d "Specifies that the compiler should compile without a reference to the Visual Basic Runtime Library, or with a reference to a specific runtime library"
|
||||
complete -c vbc -o "vbruntime:$arguments" -d "Specify reference to VB Runtime Library or disable library referencing"
|
||||
end
|
||||
|
||||
complete -c vbc -o "win32manifest:" -d "Identifies a user-defined Win32 application manifest file to be embedded into a project's portable executable (PE) file"
|
||||
complete -c vbc -o "win32manifest:" -d "Provide application manifest file"
|
||||
complete -c vbc -o parallel -o "parallel+" -d "Specifies whether to use concurrent build"
|
||||
complete -c vbc -o parallel- -d "Disable -parallel"
|
||||
complete -c vbc -o "checksumalgorithm:SHA1" -d "Specify SHA1 as the algorithm for calculating the source file checksum stored in PDB (default)"
|
||||
complete -c vbc -o "checksumalgorithm:SHA256" -d "Specify SHA256 as the algorithm for calculating the source file checksum stored in PDB"
|
||||
complete -c vbc -o "checksumalgorithm:SHA1" -d "Use SHA1 to calculate the source file checksum"
|
||||
complete -c vbc -o "checksumalgorithm:SHA256" -d "Use SHA256 to calculate the source file checksum"
|
||||
|
|
Loading…
Reference in New Issue
Block a user