From 7e75fe3d37e1d5e8ed090b39343e848e77f78206 Mon Sep 17 00:00:00 2001 From: AsukaMinato Date: Sat, 29 Jul 2023 11:52:23 +0900 Subject: [PATCH] add gcc completion lm lz lrt (#9919) add some gcc completion options (cherry picked from commit 9a9e133b184601ff838ef6bae825709adc227d19) --- share/completions/gcc.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/completions/gcc.fish b/share/completions/gcc.fish index f7032cf6a..2cbdd06b2 100644 --- a/share/completions/gcc.fish +++ b/share/completions/gcc.fish @@ -491,6 +491,9 @@ complete -c gcc -s S -d 'Stop after the stage of compilation proper; do not asse 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 -s l -d 'Search the library named library when linking' +complete -c gcc -o lm -d 'Search the math library when linking' +complete -c gcc -o lz -d 'Search the zlib library when linking' +complete -c gcc -o lrt -d 'Search the realtime extensions 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 nostartfiles -d 'Do not use the standard system startup files when linking' complete -c gcc -o nodefaultlibs -d 'Do not use the standard system libraries when linking'