source: trunk/debathena/third/schroot/bin/schroot-listmounts/schroot-listmounts.cc @ 24167

Revision 24167, 1.3 KB checked in by broder, 15 years ago (diff)
Import schroot upstream into subversion.
Line 
1/* Copyright © 2005-2007  Roger Leigh <rleigh@debian.org>
2 *
3 * schroot is free software: you can redistribute it and/or modify it
4 * under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
7 *
8 * schroot is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program.  If not, see
15 * <http://www.gnu.org/licenses/>.
16 *
17 *********************************************************************/
18
19#include <config.h>
20
21#include "schroot-listmounts-options.h"
22#include "schroot-listmounts-main.h"
23
24#include <schroot-base/schroot-base-run.h>
25
26using std::endl;
27using boost::format;
28namespace opt = boost::program_options;
29
30using namespace schroot_listmounts;
31
32/**
33 * Main routine.
34 *
35 * @param argc the number of arguments
36 * @param argv argument vector
37 *
38 * @returns 0 on success, 1 on failure or the exit status of the
39 * chroot command.
40 */
41int
42main (int   argc,
43      char *argv[])
44{
45  return schroot_base::run
46    <schroot_listmounts::options, schroot_listmounts::main>(argc, argv);
47}
Note: See TracBrowser for help on using the repository browser.