about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-01-15 00:09:21 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-01-15 18:32:18 +0900
commit260fb31fd5d4d90d6694570c8a1964d7e1c5f81b (patch)
tree28e445d19900ed1ace32fcc779da85a76ee6275d /src/librustc_driver
parent1d029c67e22b272ecc7a32044710600bfa3578e5 (diff)
downloadrust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.tar.gz
rust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.zip
Add missing unpretty option help message
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/pretty.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs
index a9ec99358c1..dfd7a14a864 100644
--- a/src/librustc_driver/pretty.rs
+++ b/src/librustc_driver/pretty.rs
@@ -123,7 +123,8 @@ pub fn parse_pretty(sess: &Session,
                 sess.fatal(&format!("argument to `unpretty` must be one of `normal`, \
                                      `expanded`, `flowgraph[,unlabelled]=<nodeid>`, \
                                      `identified`, `expanded,identified`, `everybody_loops`, \
-                                     `hir`, `hir,identified`, `hir,typed`, or `mir`; got {}",
+                                     `hir`, `hir,identified`, `hir,typed`, `hir-tree`, \
+                                     `mir` or `mir-cfg`; got {}",
                                     name));
             } else {
                 sess.fatal(&format!("argument to `pretty` must be one of `normal`, `expanded`, \