[Top][All Lists]
[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: |
Fri, 21 Jan 2005 16:17:18 +0100 |
User-agent: |
Mutt/1.3.28i |
* Shawn Betts <address@hidden> [050121 03:21]:
> > 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):
>
> Oops. Forgot to commit. Its in CVS now.
I think you changed one 0 to 1 too much. Now calling it without
arguments non-interactively does not work any more. With the following
patch it works again:
diff -u -r1.237 actions.c
--- src/actions.c 21 Jan 2005 02:14:01 -0000 1.237
+++ src/actions.c 21 Jan 2005 15:15:08 -0000
@@ -288,7 +288,7 @@
"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);
Hochachtungsvoll,
Bernhard R. Link