about summary refs log tree commit diff
path: root/Completion/Unix/Command/_gcc
diff options
context:
space:
mode:
authorFerenc- <ferenc.gm@gmail.com>2018-02-17 20:28:57 +0100
committerOliver Kiddle <opk@zsh.org>2018-03-07 00:57:39 +0100
commitc3133f5eb140c42d64a49804518bb6d2e0e8d629 (patch)
treedf6d826eeccd517883ff9d5d9ef1516151ff401c /Completion/Unix/Command/_gcc
parentf5d0111e1576cf4a0954f419a1e10e3dad690ec4 (diff)
downloadzsh-c3133f5eb140c42d64a49804518bb6d2e0e8d629.tar.gz
zsh-c3133f5eb140c42d64a49804518bb6d2e0e8d629.tar.xz
zsh-c3133f5eb140c42d64a49804518bb6d2e0e8d629.zip
github #22: Add newer C++ standard options to gcc completion
Diffstat (limited to 'Completion/Unix/Command/_gcc')
-rw-r--r--Completion/Unix/Command/_gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index 28a2ccbda..415909d24 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -353,7 +353,7 @@ args+=(
   '-print-file-name=-[Display the full path to library <library>]:library:->library'
   '-print-prog-name=-[Display the full path to compiler component <program>]:program:'
   '*-specs=-[Override built-in specs with the contents of <file>]:file:_files'
-  '-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 c99 c11 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z)'
+  '-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 c99 c11 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z c++17 gnu++17 c++2a gnu++2a)'
   '*-include:include file:_files -g \*.h\(-.\)'
   '*-imacros:macro input file:_files -g \*.h\(-.\)'
   '*-idirafter:second include path directory:_files -/'