clang: parse --verbose flag as -v

This commit is contained in:
Jakub Konka 2022-07-02 08:50:31 +02:00
parent 2360f8c490
commit 5735ce39ae
2 changed files with 5 additions and 1 deletions

View File

@ -2031,7 +2031,7 @@ flagpsl("MT"),
.{
.name = "verbose",
.syntax = .flag,
.zig_equivalent = .other,
.zig_equivalent = .verbose,
.pd1 = false,
.pd2 = true,
.psl = false,

View File

@ -272,6 +272,10 @@ const known_options = [_]KnownOpt{
.name = "v",
.ident = "verbose",
},
.{
.name = "verbose",
.ident = "verbose",
},
.{
.name = "L",
.ident = "lib_dir",