Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.

This commit is contained in:
nicm
2016-10-14 22:14:22 +00:00
parent d413a945ac
commit ed971268be
31 changed files with 45 additions and 44 deletions

View File

@ -41,7 +41,7 @@ const struct cmd_entry cmd_save_buffer_entry = {
.args = { "ab:", 1, 1 },
.usage = "[-a] " CMD_BUFFER_USAGE " path",
.flags = 0,
.flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};
@ -52,7 +52,7 @@ const struct cmd_entry cmd_show_buffer_entry = {
.args = { "b:", 0, 0 },
.usage = CMD_BUFFER_USAGE,
.flags = 0,
.flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};