X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=cmdline.mli;h=14727db056a711aa97b4b866b9cb4dc5a991aaef;hb=23a1eac79ffcbab1801b89430fc0354e44cf7599;hp=79b411fb7a98dadfe0e6a4bc52de32c6f5c09470;hpb=b07102fda0034da5840a9f33bd6d404a195b8cc9;p=guestfs-browser.git diff --git a/cmdline.mli b/cmdline.mli index 79b411f..14727db 100644 --- a/cmdline.mli +++ b/cmdline.mli @@ -19,12 +19,16 @@ (** Handle the command line arguments. *) type cli_request = - | Connect_to_libvirt of string option - | Open_disk_image of string list | Empty_window + | Open_guest of string + | Open_images of (string * string option) list (** The initial action requested by the user on the command line. - For example if the command line contains --connect then - [Connect_to_libvirt] is returned by {!command_line}. *) + + [Empty_window] means nothing was requested on the command line. + + [Open_guest] means to open a guest (-d option). + + [Open_images] means to open a list of disk images (-a option). *) val command_line : unit -> cli_request (** Read the command line and return {!cli_request}. *)