The following commit has been merged in the master branch:
commit 49049eff05efcfc6f655cab3379d0266cd689bff
Author: Guillem Jover <[email protected]>
Date:   Wed Oct 14 03:54:03 2009 +0200

    dpkg-statoverride: Add missing values for option flags
    
    This was making the --force, --update and --quiet flags not do anything.

diff --git a/src/statcmd.c b/src/statcmd.c
index de87c64..7f8ee6b 100644
--- a/src/statcmd.c
+++ b/src/statcmd.c
@@ -393,9 +393,9 @@ static const struct cmdinfo cmdinfos[] = {
        ACTION("list",   'p', act_printavail, statoverride_list),
 
        { "admindir",   0,   1,  NULL,         &admindir, NULL          },
-       { "quiet",      0,   0,  &opt_verbose, NULL,      NULL          },
-       { "force",      0,   0,  &opt_force,   NULL,      NULL          },
-       { "update",     0,   0,  &opt_update,  NULL,      NULL          },
+       { "quiet",      0,   0,  &opt_verbose, NULL,      NULL, 0       },
+       { "force",      0,   0,  &opt_force,   NULL,      NULL, 1       },
+       { "update",     0,   0,  &opt_update,  NULL,      NULL, 1       },
        { "help",       'h', 0,  NULL,         NULL,      usage         },
        { "version",    0,   0,  NULL,         NULL,      printversion  },
        /* UK spelling */

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to