summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/manual.txt4
-rw-r--r--src/core/commands.c6
-rw-r--r--src/fe-common/core/completion.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/manual.txt b/docs/manual.txt
index d85f1941..839f1c64 100644
--- a/docs/manual.txt
+++ b/docs/manual.txt
@@ -301,8 +301,8 @@
The format is pretty much the same as in libPropList and should be
easily understandable.
- You can reload the config file on the fly with /REHASH command, you
- can also read a different config file with /REHASH <filename>.
+ You can reload the config file on the fly with /RELOAD command, you
+ can also read a different config file with /RELOAD <filename>.
If you change any settings, they aren't saved to file until you use
/SAVE. You can save the config file to different place with
diff --git a/src/core/commands.c b/src/core/commands.c
index 311097e2..aec072c6 100644
--- a/src/core/commands.c
+++ b/src/core/commands.c
@@ -621,7 +621,7 @@ static void cmd_cd(const char *data)
g_free(str);
}
-static void cmd_rehash(const char *data)
+static void cmd_reload(const char *data)
{
char *fname;
@@ -649,7 +649,7 @@ void commands_init(void)
command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval);
command_bind("cd", NULL, (SIGNAL_FUNC) cmd_cd);
- command_bind("rehash", NULL, (SIGNAL_FUNC) cmd_rehash);
+ command_bind("reload", NULL, (SIGNAL_FUNC) cmd_reload);
command_bind("save", NULL, (SIGNAL_FUNC) cmd_save);
}
@@ -662,6 +662,6 @@ void commands_deinit(void)
command_unbind("eval", (SIGNAL_FUNC) cmd_eval);
command_unbind("cd", (SIGNAL_FUNC) cmd_cd);
- command_unbind("rehash", (SIGNAL_FUNC) cmd_rehash);
+ command_unbind("reload", (SIGNAL_FUNC) cmd_reload);
command_unbind("save", (SIGNAL_FUNC) cmd_save);
}
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c
index 33cc8a84..d77e4339 100644
--- a/src/fe-common/core/completion.c
+++ b/src/fe-common/core/completion.c
@@ -600,7 +600,7 @@ void completion_init(void)
signal_add("complete command cat", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command run", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command save", (SIGNAL_FUNC) sig_complete_filename);
- signal_add("complete command rehash", (SIGNAL_FUNC) sig_complete_filename);
+ signal_add("complete command reload", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command rawlog open", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename);
}
@@ -615,7 +615,7 @@ void completion_deinit(void)
signal_remove("complete command cat", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command run", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command save", (SIGNAL_FUNC) sig_complete_filename);
- signal_remove("complete command rehash", (SIGNAL_FUNC) sig_complete_filename);
+ signal_remove("complete command reload", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command rawlog open", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename);
}