diff options
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 2dd5278..d9b7d5f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,7 +43,7 @@ const HELP_TEXT: &str = x evaluate string\n\ \n\ META\n\ - p print the top item of the stack, leaving it in place\n\ + e print (\"echo\") the top item of the stack, leaving it in place\n\ n print the top item of the stack, popping it\n\ q quit (you can also ^D)\n\ ? help (this message)\n\ @@ -512,7 +512,7 @@ fn make_command_character_readtable() -> ReadTable { //////////////////////////////////////////////////////////// // Meta actions // - result.set_action('p', move |_, state| { + result.set_action('e', move |_, state| { if state.stack.is_empty() { return Err(err_msg("Data underflow!".into())); } |