rustc: add all the pretty printer modes to error message

This commit is contained in:
Erick Tryzelaar 2012-08-22 18:32:51 -07:00
parent 4ef1d9d5b5
commit cfa71a135b

View file

@ -583,8 +583,9 @@ fn parse_pretty(sess: session, &&name: ~str) -> pp_mode {
~"expanded,identified" => ppm_expanded_identified,
~"identified" => ppm_identified,
_ => {
sess.fatal(~"argument to `pretty` must be one of `normal`, `typed`, \
or `identified`");
sess.fatal(~"argument to `pretty` must be one of `normal`, \
`expanded`, `typed`, `identified`, \
or `expanded,identified`");
}
}
}