febootstrap/helper/init: Mount /proc if not already present.
[febootstrap.git] / febootstrap_cmdline.mli
1 (* febootstrap 3
2  * Copyright (C) 2009-2010 Red Hat Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  *)
18
19 (** Command line parsing. *)
20
21 val debug : ('a, unit, string, unit) format4 -> 'a
22   (** Print string (like printf), but only if --verbose was given on
23       the command line. *)
24
25 val excludes : Str.regexp list
26   (** List of package regexps to exclude. *)
27
28 val names_mode : bool
29   (** True if [--names] was given on the command line (otherwise
30       {!packages} is a list of filenames). *)
31
32 val outputdir : string
33   (** Output directory. *)
34
35 val packages : string list
36   (** List of packages or package names as supplied on the command line. *)
37
38 val verbose : bool
39   (** True if [--verbose] was given on the command line.
40       See also {!debug}. *)
41
42 val warnings : bool
43   (** If true, print warnings.  [--no-warnings] sets this to false. *)
44
45 val yum_config : string option
46   (** Yum configuration file. *)