diff options
author | 2011-02-16 15:30:35 +0000 | |
---|---|---|
committer | 2011-02-16 15:30:35 +0000 | |
commit | 58f094b672f889012d3133fd5dcee7995984e02b (patch) | |
tree | f01c648ed3acc70bd005833f311ef59328f4fd4a | |
parent | 640ce4a803316dc42fe5980d12837df2fb2b18cf (diff) | |
download | paludis-58f094b672f889012d3133fd5dcee7995984e02b.tar.gz paludis-58f094b672f889012d3133fd5dcee7995984e02b.tar.xz |
Remove old man format support
-rw-r--r-- | src/clients/cave/man_cave.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clients/cave/man_cave.cc b/src/clients/cave/man_cave.cc index db2106daf..3f81b0b97 100644 --- a/src/clients/cave/man_cave.cc +++ b/src/clients/cave/man_cave.cc @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2008, 2009, 2010 Ciaran McCreesh + * Copyright (c) 2008, 2009, 2010, 2011 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis is free software; * you can redistribute it and/or modify it under the terms of the GNU General @@ -21,6 +21,7 @@ #include "command_factory.hh" #include "command_line.hh" #include <paludis/args/man.hh> +#include <paludis/args/do_help.hh> #include <paludis/util/exception.hh> #include <paludis/util/stringify.hh> @@ -75,7 +76,7 @@ main(int argc, char * argv[]) else if (cmdline.a_html.specified()) w = std::make_shared<paludis::args::HtmlWriter>(cout); else - w = std::make_shared<paludis::args::ManWriter>(cout); + throw paludis::args::DoHelp("No format specified"); if (cmdline.begin_parameters() == cmdline.end_parameters()) { |