summaryrefslogtreecommitdiff
path: root/src/statcmd.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-10-14 03:54:03 +0200
committerGuillem Jover <guillem@debian.org>2009-10-14 03:54:03 +0200
commit49049eff05efcfc6f655cab3379d0266cd689bff (patch)
tree34319f3c10efdc83e4a7bc6659d1ae5acf997a34 /src/statcmd.c
parent51647b0793ca0f419cd9f7ea586e01fffe6574a8 (diff)
downloaddpkg-49049eff05efcfc6f655cab3379d0266cd689bff.tar.gz
dpkg-statoverride: Add missing values for option flags
This was making the --force, --update and --quiet flags not do anything.
Diffstat (limited to 'src/statcmd.c')
-rw-r--r--src/statcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statcmd.c b/src/statcmd.c
index de87c64bf..7f8ee6b79 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 */