ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] new argument parsing code committed


From: Bernhard R. Link
Subject: Re: [RP] new argument parsing code committed
Date: Mon, 17 Jan 2005 14:41:48 +0100
User-agent: Mutt/1.3.28i

* Shawn Betts <address@hidden> [050115 05:26]:
> I did my best to preserve the functionality of the commands. I also
> ran each command through some limited testing. If any commands don't
> work as you expect them to and its a problem, please let me know.

Next problem:
 :unmanage INBOX
gives the message: "too many arguments"

I've not yet looked into the new argument code, but I think it
should be something like this (Could also be that a arg_REST is
better):

Index: src/actions.c
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/src/actions.c,v
retrieving revision 1.236
diff -u -r1.236 actions.c
--- src/actions.c       15 Jan 2005 19:48:36 -0000      1.236
+++ src/actions.c       17 Jan 2005 13:39:36 -0000
@@ -288,7 +288,8 @@
               "Tmp wm: ", arg_REST);
   add_command ("unalias",      cmd_unalias,    1, 1, 1,
               "Alias: ", arg_STRING);
-  add_command ("unmanage",     cmd_unmanage,   0, 0, 0);
+  add_command ("unmanage",     cmd_unmanage,   1, 1, 0,
+              "unmanage:", arg_STRING);
   add_command ("unsetenv",     cmd_unsetenv,   1, 1, 1,
               "Variable: ", arg_STRING);
   add_command ("verbexec",     cmd_verbexec,   1, 1, 1,

Hochachtungsvoll,
        Bernhard R. Link




reply via email to

[Prev in Thread] Current Thread [Next in Thread]