about summary refs log tree commit diff
path: root/src/librustc/session
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/session
parent1d029c67e22b272ecc7a32044710600bfa3578e5 (diff)
downloadrust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.tar.gz
rust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.zip
Add missing unpretty option help message
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/config.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 42adc6a87fd..03dbd7b54e1 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -1342,10 +1342,15 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
     unpretty: Option<String> = (None, parse_unpretty, [UNTRACKED],
         "Present the input source, unstable (and less-pretty) variants;
         valid types are any of the types for `--pretty`, as well as:
+        `expanded`, `expanded,identified`,
+        `expanded,hygiene` (with internal representations),
         `flowgraph=<nodeid>` (graphviz formatted flowgraph for node),
+        `flowgraph,unlabelled=<nodeid>` (unlabelled graphviz formatted flowgraph for node),
         `everybody_loops` (all function bodies replaced with `loop {}`),
-        `hir` (the HIR), `hir,identified`, or
-        `hir,typed` (HIR with types for each node)."),
+        `hir` (the HIR), `hir,identified`,
+        `hir,typed` (HIR with types for each node),
+        `hir-tree` (dump the raw HIR),
+        `mir` (the MIR), or `mir-cfg` (graphviz formatted MIR)"),
     run_dsymutil: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "run `dsymutil` and delete intermediate object files"),
     ui_testing: bool = (false, parse_bool, [UNTRACKED],