diff options
Diffstat (limited to 'src/tools/optimization-options.h')
-rw-r--r-- | src/tools/optimization-options.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/optimization-options.h b/src/tools/optimization-options.h index 30f59f04d..6af247924 100644 --- a/src/tools/optimization-options.h +++ b/src/tools/optimization-options.h @@ -142,12 +142,12 @@ struct OptimizationOptions : public ToolOptions { .add("--pass-arg", "-pa", "An argument passed along to optimization passes being run. Must be " - "in the form KEY:VALUE", + "in the form KEY@VALUE", Options::Arguments::N, [this](Options*, const std::string& argument) { - auto colon = argument.find(':'); + auto colon = argument.find('@'); if (colon == std::string::npos) { - Fatal() << "--pass-arg value must be in the form of KEY:VALUE"; + Fatal() << "--pass-arg value must be in the form of KEY@VALUE"; } auto key = argument.substr(0, colon); auto value = argument.substr(colon + 1); |