summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/handler.rs2
-rw-r--r--src/repl/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index ff6cf56..e726661 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -71,7 +71,7 @@ impl ReplCmdHandler {
print_now!("\n");
}
ReplCmd::SetRole(name) => {
- let output = self.config.write().change_role(&name)?;
+ let output = self.config.write().set_role(&name)?;
print_now!("{}\n\n", output.trim_end());
}
ReplCmd::ClearRole => {
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index 46d0cca..a6f173a 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -160,7 +160,7 @@ impl Repl {
}
fn dump_unknown_command() {
- print_now!("Error: Unknown command. Type \".help\" for more information.\n\n");
+ print_now!("Unknown command. Type \".help\" for more information.\n\n");
}
fn dump_repl_help() {