aboutsummaryrefslogtreecommitdiff
path: root/src/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.c')
-rw-r--r--src/repl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/repl.c b/src/repl.c
index 9c61b98..5ea9792 100644
--- a/src/repl.c
+++ b/src/repl.c
@@ -7,14 +7,14 @@
#include <string.h>
static void print_help(void) {
- puts(
- "IMP REPL (type IMP statements or commands starting with '%')\n"
+ printf(
+ "IMP REPL (type IMP statements or commands starting with '%%')\n"
"Commands:\n"
- " %quit exit\n"
- " %run <path/to/file.imp> interpret program\n"
- " %set <var> <val> set variable\n"
- " %print [<var>] print variable, or all variables\n"
- " %help show this message\n");
+ " %%quit exit\n"
+ " %%run <path/to/file.imp> interpret program\n"
+ " %%set <var> <val> set variable\n"
+ " %%print [<var>] print variable, or all variables\n"
+ " %%help show this message\n");
}
static void repl_exec_command(hashmap_t context, const char *command) {