diff options
author | sabetts <sabetts> | 2005-01-22 18:47:23 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-01-22 18:47:23 +0000 |
commit | 9f6c3c6c2f62812a60e8122810fff6efc32585fb (patch) | |
tree | f5c5c126785731b3032f248fc8e7f4d880a1ac33 | |
parent | 7372b0456474acafc73e7662ab944734732bd70c (diff) | |
download | ratpoison-9f6c3c6c2f62812a60e8122810fff6efc32585fb.zip |
(init_user_commands): make unmanage'd argument
optional when called non-interactively.
(init_user_commands): "title" accepts 1 argument.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/actions.c | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2005-01-22 Shawn Betts <katia_dilkina@verizon.net> + + * src/actions.c (init_user_commands): make unmanage'd argument + optional when called non-interactively. + (init_user_commands): "title" accepts 1 argument. + 2005-01-20 Shawn Betts <katia_dilkina@verizon.net> * src/actions.c (init_user_commands): fix unmanage command. 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); |