diff --git a/ChangeLog b/ChangeLog index 8c7ab6a28f..aba434c8c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-05-02 Daniel Shahaf + * 45752/0002: Completion/Unix/Command/_gcc: Complete --output + like -o. + * 45752/0001: Completion/Unix/Command/_gcc: Add .cpp and .hpp to the ignored extensions list. diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index 4e81247d4f..20b3abe598 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -1004,7 +1004,7 @@ args+=( '--help[Display this information]' '--no-warnings[Same as -w]' '--optimize[Same as -O]' - '--output[Same as -o]' + '--output:output file:_files -g "^*.(c|h|cc|C|cxx|cpp|hpp)(-.)"' '--param[Set parameter to value. See manpage for a complete list of parameters]:name=value' '--verbose[Same as -v]' '--version[Display version information]'