mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
[completions/gcc] Improve wording
These completions are apparently based on an auto-generated version, so there's a whole bunch of rewording to be done here. Also for some reason some of the options are mentioned more than once?
This commit is contained in:
parent
f741968d6d
commit
44d68f99ea
1 changed files with 18 additions and 21 deletions
|
@ -35,9 +35,7 @@ complete -c gcc -l sysroot -x -a '(__fish_complete_directories)' -d 'Use dir as
|
||||||
# These completions are autogenerated form the manual page using make_completions.py
|
# These completions are autogenerated form the manual page using make_completions.py
|
||||||
#
|
#
|
||||||
|
|
||||||
complete -c gcc -s x -d 'Specify explicitly the language for the following input files (rather than letting the compiler choose a default based on the file name suffix)'
|
complete -c gcc -o pass-exit-codes -d 'Return the highest error returned by any phase'
|
||||||
complete -c gcc -s x -d 'Turn off any specification of a language, so that subsequent files are handled according to their file name suffixes (as they are if -x has not been used at all)'
|
|
||||||
complete -c gcc -o pass-exit-codes -d 'Normally the gcc program will exit with the code of 1 if any phase of the compiler returns a non-success return code'
|
|
||||||
complete -c gcc -s c -d 'Compile or assemble the source files, but do not link'
|
complete -c gcc -s c -d 'Compile or assemble the source files, but do not link'
|
||||||
complete -c gcc -s S -d 'Stop after the stage of compilation proper; do not assemble'
|
complete -c gcc -s S -d 'Stop after the stage of compilation proper; do not assemble'
|
||||||
complete -c gcc -s E -d 'Stop after the preprocessing stage; do not run the compiler proper'
|
complete -c gcc -s E -d 'Stop after the preprocessing stage; do not run the compiler proper'
|
||||||
|
@ -45,8 +43,8 @@ complete -c gcc -s v -d 'Print (on standard error output) the commands executed
|
||||||
complete -c gcc -o \#\#\# -d 'Like -v except the commands are not executed and all command arguments are quoted'
|
complete -c gcc -o \#\#\# -d 'Like -v except the commands are not executed and all command arguments are quoted'
|
||||||
complete -c gcc -o pipe -d 'Use pipes rather than temporary files for communication between the various stages of compilation'
|
complete -c gcc -o pipe -d 'Use pipes rather than temporary files for communication between the various stages of compilation'
|
||||||
complete -c gcc -o combine -d 'If you are compiling multiple source files, this option tells the driver to pass all the source files to the compiler at once (for those languages for which the compiler can handle this)'
|
complete -c gcc -o combine -d 'If you are compiling multiple source files, this option tells the driver to pass all the source files to the compiler at once (for those languages for which the compiler can handle this)'
|
||||||
complete -c gcc -l help -d 'Print (on the standard output) a description of the command line options understood by gcc'
|
complete -c gcc -l help -d 'Print a description of the command line options understood by gcc'
|
||||||
complete -c gcc -l target-help -d 'Print (on the standard output) a description of target specific command line options for each tool'
|
complete -c gcc -l target-help -d 'Print a description of target specific command line options for each tool'
|
||||||
complete -c gcc -l version -d 'Display the version number and copyrights of the invoked GCC'
|
complete -c gcc -l version -d 'Display the version number and copyrights of the invoked GCC'
|
||||||
complete -c gcc -o ansi -d 'In C mode, support all ISO C90 programs'
|
complete -c gcc -o ansi -d 'In C mode, support all ISO C90 programs'
|
||||||
complete -c gcc -o fno-asm -d 'Do not recognize "asm", "inline" or "typeof" as a keyword, so that code can use these words as identifiers'
|
complete -c gcc -o fno-asm -d 'Do not recognize "asm", "inline" or "typeof" as a keyword, so that code can use these words as identifiers'
|
||||||
|
@ -62,10 +60,10 @@ complete -c gcc -o traditional-cpp -d 'Formerly, these options caused GCC to att
|
||||||
complete -c gcc -o fcond-mismatch -d 'Allow conditional expressions with mismatched types in the second and third arguments'
|
complete -c gcc -o fcond-mismatch -d 'Allow conditional expressions with mismatched types in the second and third arguments'
|
||||||
complete -c gcc -o funsigned-char -d 'Let the type "char" be unsigned, like "unsigned char"'
|
complete -c gcc -o funsigned-char -d 'Let the type "char" be unsigned, like "unsigned char"'
|
||||||
complete -c gcc -o fsigned-char -d 'Let the type "char" be signed, like "signed char"'
|
complete -c gcc -o fsigned-char -d 'Let the type "char" be signed, like "signed char"'
|
||||||
complete -c gcc -o fsigned-bitfields -d 'These options control whether a bit-field is signed or unsigned, when the declaration does not use either "signed" or "unsigned"'
|
complete -c gcc -o fsigned-bitfields -d 'Treat bitfields as signed by default'
|
||||||
complete -c gcc -o funsigned-bitfields -d 'These options control whether a bit-field is signed or unsigned, when the declaration does not use either "signed" or "unsigned"'
|
complete -c gcc -o funsigned-bitfields -d 'Treat bitfields as unsigned by default'
|
||||||
complete -c gcc -o fno-signed-bitfields -d 'These options control whether a bit-field is signed or unsigned, when the declaration does not use either "signed" or "unsigned"'
|
complete -c gcc -o fno-signed-bitfields -d 'Remove fsigned-bitfields'
|
||||||
complete -c gcc -o fno-unsigned-bitfields -d 'These options control whether a bit-field is signed or unsigned, when the declaration does not use either "signed" or "unsigned"'
|
complete -c gcc -o fno-unsigned-bitfields -d 'Remove funsinged-bitfields'
|
||||||
complete -c gcc -o fno-access-control -d 'Turn off all access checking'
|
complete -c gcc -o fno-access-control -d 'Turn off all access checking'
|
||||||
complete -c gcc -o fcheck-new -d 'Check that the pointer returned by "operator new" is non-null before attempting to modify the storage allocated'
|
complete -c gcc -o fcheck-new -d 'Check that the pointer returned by "operator new" is non-null before attempting to modify the storage allocated'
|
||||||
complete -c gcc -o fconserve-space -d 'Put uninitialized or runtime-initialized global variables into the common segment, as C does'
|
complete -c gcc -o fconserve-space -d 'Put uninitialized or runtime-initialized global variables into the common segment, as C does'
|
||||||
|
@ -419,7 +417,7 @@ complete -c gcc -s o -d 'Write output to file'
|
||||||
complete -c gcc -o Wall -d 'Turns on all optional warnings which are desirable for normal code'
|
complete -c gcc -o Wall -d 'Turns on all optional warnings which are desirable for normal code'
|
||||||
complete -c gcc -o Wcomment -d 'Warn whenever a comment-start sequence /* appears in a /* comment, or whenever a backslash-newline appears in a // comment'
|
complete -c gcc -o Wcomment -d 'Warn whenever a comment-start sequence /* appears in a /* comment, or whenever a backslash-newline appears in a // comment'
|
||||||
complete -c gcc -o Wcomments -d 'Warn whenever a comment-start sequence /* appears in a /* comment, or whenever a backslash-newline appears in a // comment'
|
complete -c gcc -o Wcomments -d 'Warn whenever a comment-start sequence /* appears in a /* comment, or whenever a backslash-newline appears in a // comment'
|
||||||
complete -c gcc -o Wtrigraphs -d '@anchor{Wtrigraphs} Most trigraphs in comments cannot affect the meaning of the program'
|
complete -c gcc -o Wtrigraphs -d 'Most trigraphs in comments cannot affect the meaning of the program'
|
||||||
complete -c gcc -o Wtraditional -d 'Warn about certain constructs that behave differently in traditional and ISO C'
|
complete -c gcc -o Wtraditional -d 'Warn about certain constructs that behave differently in traditional and ISO C'
|
||||||
complete -c gcc -o Wimport -d 'Warn the first time #import is used'
|
complete -c gcc -o Wimport -d 'Warn the first time #import is used'
|
||||||
complete -c gcc -o Wundef -d 'Warn whenever an identifier which is not a macro is encountered in an #if directive, outside of defined'
|
complete -c gcc -o Wundef -d 'Warn whenever an identifier which is not a macro is encountered in an #if directive, outside of defined'
|
||||||
|
@ -438,14 +436,13 @@ complete -c gcc -o MP -d 'This option instructs CPP to add a phony target for ea
|
||||||
complete -c gcc -o MT -d 'Change the target of the rule emitted by dependency generation'
|
complete -c gcc -o MT -d 'Change the target of the rule emitted by dependency generation'
|
||||||
complete -c gcc -o MQ -d 'Same as -MT, but it quotes any characters which are special to Make'
|
complete -c gcc -o MQ -d 'Same as -MT, but it quotes any characters which are special to Make'
|
||||||
complete -c gcc -o MD -d 'is equivalent to -M -MF file, except that -E is not implied'
|
complete -c gcc -o MD -d 'is equivalent to -M -MF file, except that -E is not implied'
|
||||||
complete -c gcc -o MD -d 'is equivalent to -M -MF file, except that -E is not implied'
|
|
||||||
complete -c gcc -o MMD -d 'Like -MD except mention only user header files, not system header files'
|
complete -c gcc -o MMD -d 'Like -MD except mention only user header files, not system header files'
|
||||||
complete -c gcc -o fpch-deps -d 'When using precompiled headers, this flag will cause the dependency-output flags to also list the files from the precompiled header’s dependencies'
|
complete -c gcc -o fpch-deps -d 'When using precompiled headers, this flag will cause the dependency-output flags to also list the files from the precompiled header’s dependencies'
|
||||||
complete -c gcc -o fpch-preprocess -d 'This option allows use of a precompiled header together with -E'
|
complete -c gcc -o fpch-preprocess -d 'This option allows use of a precompiled header together with -E'
|
||||||
complete -c gcc -s x -d 'assembler-with-cpp Specify the source language: C, C++, Objective-C, or assembly'
|
complete -c gcc -s x -d 'Specify the source language' -a 'c c-header cpp-output
|
||||||
complete -c gcc -s x -d 'assembler-with-cpp Specify the source language: C, C++, Objective-C, or assembly'
|
c++ c++-header c++-cpp-output objective-c objective-c-header objective-c-cpp-output
|
||||||
complete -c gcc -s x -d 'assembler-with-cpp Specify the source language: C, C++, Objective-C, or assembly'
|
objective-c++ objective-c++-header objective-c++-cpp-output
|
||||||
complete -c gcc -s x -d 'assembler-with-cpp Specify the source language: C, C++, Objective-C, or assembly'
|
assembler assembler-with-cpp ada f77 f77-cpp-input f95 f95-cpp-input go brig'
|
||||||
complete -c gcc -o std -d 'Specify the standard to which the code should conform'
|
complete -c gcc -o std -d 'Specify the standard to which the code should conform'
|
||||||
complete -c gcc -o ansi -d 'Specify the standard to which the code should conform'
|
complete -c gcc -o ansi -d 'Specify the standard to which the code should conform'
|
||||||
complete -c gcc -o I- -d 'Split the include path'
|
complete -c gcc -o I- -d 'Split the include path'
|
||||||
|
@ -460,7 +457,7 @@ complete -c gcc -o iwithprefixbefore -d 'Append dir to the prefix specified prev
|
||||||
complete -c gcc -o isysroot -d 'This option is like the --sysroot option, but applies only to header files'
|
complete -c gcc -o isysroot -d 'This option is like the --sysroot option, but applies only to header files'
|
||||||
complete -c gcc -o isystem -d 'Search dir for header files, after all directories specified by -I but before the standard system directories'
|
complete -c gcc -o isystem -d 'Search dir for header files, after all directories specified by -I but before the standard system directories'
|
||||||
complete -c gcc -o iquote -d 'Search dir only for header files requested with "#include "file""; they are not searched for "#include <file>", before all directories specified by -I and before the standard system directories'
|
complete -c gcc -o iquote -d 'Search dir only for header files requested with "#include "file""; they are not searched for "#include <file>", before all directories specified by -I and before the standard system directories'
|
||||||
complete -c gcc -o fdollars-in-identifiers -d '@anchor{fdollars-in-identifiers} Accept $ in identifiers'
|
complete -c gcc -o fdollars-in-identifiers -d 'Accept $ in identifiers'
|
||||||
complete -c gcc -o fextended-identifiers -d 'Accept universal character names in identifiers'
|
complete -c gcc -o fextended-identifiers -d 'Accept universal character names in identifiers'
|
||||||
complete -c gcc -o fpreprocessed -d 'Indicate to the preprocessor that the input file has already been preprocessed'
|
complete -c gcc -o fpreprocessed -d 'Indicate to the preprocessor that the input file has already been preprocessed'
|
||||||
complete -c gcc -o ftabstop -d 'Set the distance between tab stops'
|
complete -c gcc -o ftabstop -d 'Set the distance between tab stops'
|
||||||
|
@ -486,9 +483,9 @@ complete -c gcc -s H -d 'Print the name of each header file used, in addition to
|
||||||
complete -c gcc -o version -d 'Print out GNU CPP’s version number'
|
complete -c gcc -o version -d 'Print out GNU CPP’s version number'
|
||||||
complete -c gcc -l version -d 'Print out GNU CPP’s version number'
|
complete -c gcc -l version -d 'Print out GNU CPP’s version number'
|
||||||
complete -c gcc -o Xassembler -d 'Pass option as an option to the assembler'
|
complete -c gcc -o Xassembler -d 'Pass option as an option to the assembler'
|
||||||
complete -c gcc -s c -d 'If any of these options is used, then the linker is not run, and object file names should not be used as arguments'
|
complete -c gcc -s c -d 'Compile or assemble the source files, but do not link.'
|
||||||
complete -c gcc -s S -d 'If any of these options is used, then the linker is not run, and object file names should not be used as arguments'
|
complete -c gcc -s S -d 'Stop after the stage of compilation proper; do not assemble'
|
||||||
complete -c gcc -s E -d 'If any of these options is used, then the linker is not run, and object file names should not be used as arguments'
|
complete -c gcc -s E -d 'Stop after the preprocessing stage; do not run the compiler proper'
|
||||||
complete -c gcc -o llibrary -d 'Search the library named library when linking'
|
complete -c gcc -o llibrary -d 'Search the library named library when linking'
|
||||||
complete -c gcc -s l -d 'Search the library named library when linking'
|
complete -c gcc -s l -d 'Search the library named library when linking'
|
||||||
complete -c gcc -o lobjc -d 'You need this special case of the -l option in order to link an Objective-C or Objective-C++ program'
|
complete -c gcc -o lobjc -d 'You need this special case of the -l option in order to link an Objective-C or Objective-C++ program'
|
||||||
|
@ -500,8 +497,8 @@ complete -c gcc -o rdynamic -d 'Pass the flag -export-dynamic to the ELF linker,
|
||||||
complete -c gcc -s s -d 'Remove all symbol table and relocation information from the executable'
|
complete -c gcc -s s -d 'Remove all symbol table and relocation information from the executable'
|
||||||
complete -c gcc -o static -d 'On systems that support dynamic linking, this prevents linking with the shared libraries'
|
complete -c gcc -o static -d 'On systems that support dynamic linking, this prevents linking with the shared libraries'
|
||||||
complete -c gcc -o shared -d 'Produce a shared object which can then be linked with other objects to form an executable'
|
complete -c gcc -o shared -d 'Produce a shared object which can then be linked with other objects to form an executable'
|
||||||
complete -c gcc -o shared-libgcc -d 'On systems that provide libgcc as a shared library, these options force the use of either the shared or static version respectively'
|
complete -c gcc -o shared-libgcc -d 'Force shared libgcc'
|
||||||
complete -c gcc -o static-libgcc -d 'On systems that provide libgcc as a shared library, these options force the use of either the shared or static version respectively'
|
complete -c gcc -o static-libgcc -d 'Force static libgcc'
|
||||||
complete -c gcc -o symbolic -d 'Bind references to global symbols when building a shared object'
|
complete -c gcc -o symbolic -d 'Bind references to global symbols when building a shared object'
|
||||||
complete -c gcc -o Xlinker -d 'Pass option as an option to the linker'
|
complete -c gcc -o Xlinker -d 'Pass option as an option to the linker'
|
||||||
complete -c gcc -s u -d 'Pretend the symbol symbol is undefined, to force linking of library modules to define it'
|
complete -c gcc -s u -d 'Pretend the symbol symbol is undefined, to force linking of library modules to define it'
|
||||||
|
|
Loading…
Reference in a new issue