summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-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 9ec09200e..4e81247d4 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -390,7 +390,7 @@ languages=(
# generic options (from --help)
args+=(
'-###[print commands to run this compilation]'
- '-o:output file:_files -g "^*.(c|h|cc|C|cxx)(-.)"'
+ '-o:output file:_files -g "^*.(c|h|cc|C|cxx|cpp|hpp)(-.)"'
'-x[Specify the language of the following input files]:input file language:('"$languages"')'
'+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))'
'-d-:dump:->dump'