2 * Copyright (C) 2010 Red Hat Inc.
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.
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.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 (** Handle the command line arguments. *)
23 | Open_guest of string
24 | Open_images of (string * string option) list
25 (** The initial action requested by the user on the command line.
27 [Empty_window] means nothing was requested on the command line.
29 [Open_guest] means to open a guest (-d option).
31 [Open_images] means to open a list of disk images (-a option). *)
33 val command_line : unit -> cli_request
34 (** Read the command line and return {!cli_request}. *)