diff --git a/src/builtins/help.rs b/src/builtins/help.rs index 4fbe17e..6486130 100644 --- a/src/builtins/help.rs +++ b/src/builtins/help.rs @@ -5,8 +5,7 @@ pub struct Help; impl Builtin for Help { fn execute(&mut self, _: &mut BuiltinConfig, _: Vec) -> Result<(), ShellError> { - let commands = - "cd changes current working directory + let commands = "cd changes current working directory change-prompt changes prompt style (default, bashlike, simpledirectory) exit exits the shell fetch prints out system information @@ -15,11 +14,13 @@ impl Builtin for Help { open shows content of files pwd shows path to current working directory segfault exit but through segfault - sus shows amogus"; + sus shows amogus + quote prints a random quote + "; for line in commands.lines() { println!("{}", line.trim_start()); } Ok(()) } -} \ No newline at end of file +}