diff options
author | Daniel Burrows <Daniel_Burrows@alumni.brown.edu> | 2007-05-09 14:39:13 +0000 |
---|---|---|
committer | Daniel Burrows <Daniel_Burrows@alumni.brown.edu> | 2007-05-09 14:39:13 +0000 |
commit | 508a3109b0ce244968fac4572a674c7d1dc97785 (patch) | |
tree | 78b44774b6b01c28084056e5b3e893101ee47c08 /src/main.cc | |
parent | 11df965f67f01172b03277fc71ebe336a47c8541 (diff) | |
download | aptitude-508a3109b0ce244968fac4572a674c7d1dc97785.tar.gz |
[aptitude @ Add a command-line action that runs the sanity-checker on the universe in its initial state.]
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 2a524cb4..acc16fba 100644 --- a/src/main.cc +++ b/src/main.cc @@ -43,6 +43,7 @@ #include <vscreen/vs_util.h> #include <cmdline/cmdline_changelog.h> +#include <cmdline/cmdline_check_resolver.h> #include <cmdline/cmdline_clean.h> #include <cmdline/cmdline_common.h> #include <cmdline/cmdline_do_action.h> @@ -491,6 +492,8 @@ int main(int argc, char *argv[]) return cmdline_show(argc-optind, argv+optind, verbose); else if(!strcasecmp(argv[optind], "dump-resolver")) return cmdline_dump_resolver(argc-optind, argv+optind, status_fname); + else if(!strcasecmp(argv[optind], "check-resolver")) + return cmdline_check_resolver(argc-optind, argv+optind, status_fname); else if(!strcasecmp(argv[optind], "help")) { usage(); |