aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-session-manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r--gcc/rust/rust-session-manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index 4308ae3..29933d5 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -340,7 +340,7 @@ Session::enable_dump (::std::string arg)
{
error_at (
UNKNOWN_LOCATION,
- "dumping all is not supported as of now. choose 'lex' or 'parse'");
+ "dumping all is not supported as of now. choose 'lex', 'parse', or 'target_options");
return false;
}
else if (arg == "lex")
@@ -379,13 +379,13 @@ Session::enable_dump (::std::string arg)
else if (arg == "")
{
error_at (UNKNOWN_LOCATION,
- "dump option was not given a name. choose 'lex' or 'parse'");
+ "dump option was not given a name. choose 'lex', 'parse', or 'target_options'");
return false;
}
else
{
error_at (UNKNOWN_LOCATION,
- "dump option '%s' was unrecognised. choose 'lex' or 'parse'",
+ "dump option '%s' was unrecognised. choose 'lex', 'parse', or 'target_options",
arg.c_str ());
return false;
}