From f1d10429165ab81734b79b09affdd3d67ff268d6 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 5 Jun 2019 02:36:08 -0700 Subject: [PATCH] Add help text --- schala-repl/src/repl/directives.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schala-repl/src/repl/directives.rs b/schala-repl/src/repl/directives.rs index 6633467..1463c86 100644 --- a/schala-repl/src/repl/directives.rs +++ b/schala-repl/src/repl/directives.rs @@ -17,8 +17,8 @@ pub fn directives_from_pass_names(pass_names: &Vec) -> CommandTree { vec![ CommandTree::terminal("list-passes", Some("List all registered compiler passes"), vec![], ListPasses), CommandTree::terminal("show-immediate", None, passes_directives.clone(), ShowImmediate), - CommandTree::terminal("show", None, passes_directives.clone(), Show), - CommandTree::terminal("hide", None, passes_directives.clone(), Hide), + CommandTree::terminal("show", Some("Show debug output for a specific pass"), passes_directives.clone(), Show), + CommandTree::terminal("hide", Some("Hide debug output for a specific pass"), passes_directives.clone(), Hide), CommandTree::nonterm("total-time", None, vec![ CommandTree::terminal("on", None, vec![], TotalTimeOn), CommandTree::terminal("off", None, vec![], TotalTimeOff),