The following commit has been merged in the master branch:
commit 4b13dfcdbea654859b7980ea1af33bec0f9a095b
Author: Guillem Jover <guil...@debian.org>
Date:   Sun Mar 14 08:13:19 2010 +0100

    dpkg-statoverride: Fix bogus arguments in ACTION macros
    
    Remove bogus short options and use more appropriate act_ values for each
    action.

diff --git a/src/statcmd.c b/src/statcmd.c
index 15c9024..fe9dac3 100644
--- a/src/statcmd.c
+++ b/src/statcmd.c
@@ -397,9 +397,9 @@ statoverride_list(const char *const *argv)
  { longopt, shortopt, 0, 0, 0, setaction, code, 0, (voidfnp)function }
 
 static const struct cmdinfo cmdinfos[] = {
-       ACTION("add",    'L', act_listfiles,  statoverride_add),
-       ACTION("remove", 's', act_status,     statoverride_remove),
-       ACTION("list",   'p', act_printavail, statoverride_list),
+       ACTION("add",    0, act_install,   statoverride_add),
+       ACTION("remove", 0, act_remove,    statoverride_remove),
+       ACTION("list",   0, act_listfiles, statoverride_list),
 
        { "admindir",   0,   1,  NULL,         &admindir, NULL          },
        { "quiet",      0,   0,  &opt_verbose, NULL,      NULL, 0       },

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to