From c3133f5eb140c42d64a49804518bb6d2e0e8d629 Mon Sep 17 00:00:00 2001 From: Ferenc- Date: Sat, 17 Feb 2018 20:28:57 +0100 Subject: github #22: Add newer C++ standard options to gcc completion --- ChangeLog | 3 +++ Completion/Unix/Command/_gcc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e31b767d1..602289263 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-03-07 Oliver Kiddle + * github #22: Ferenc-: Completion/Unix/Command/_gcc: + Add newer C++ standard options to gcc completion + * github #23: Matthijs Tijink: Completion/X/Command/_kdeconnect: new kdeconnect-cli completion 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' '-print-prog-name=-[Display the full path to compiler component ]:program:' '*-specs=-[Override built-in specs with the contents of ]: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 -/' -- cgit 1.4.1