From 9f6c3c6c2f62812a60e8122810fff6efc32585fb Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 22 Jan 2005 18:47:23 +0000 Subject: (init_user_commands): make unmanage'd argument optional when called non-interactively. (init_user_commands): "title" accepts 1 argument. --- src/actions.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index 72cb9c2..e8ee550 100644 --- a/src/actions.c +++ b/src/actions.c @@ -283,12 +283,13 @@ init_user_commands() add_command ("startup_message", cmd_startup_message, 1, 1, 1, "Startup message: ", arg_STRING); add_command ("time", cmd_time, 0, 0, 0); - add_command ("title", cmd_rename, 0, 0, 0); + add_command ("title", cmd_rename, 1, 1, 1, + "Set window's title to: ", arg_REST); add_command ("tmpwm", cmd_tmpwm, 1, 1, 1, "Tmp wm: ", arg_REST); add_command ("unalias", cmd_unalias, 1, 1, 1, "Alias: ", arg_STRING); - add_command ("unmanage", cmd_unmanage, 1, 1, 1, + add_command ("unmanage", cmd_unmanage, 1, 1, 0, "Unmanage: ", arg_REST); add_command ("unsetenv", cmd_unsetenv, 1, 1, 1, "Variable: ", arg_STRING); -- cgit v1.2.3