schroot::Options Class Reference

schroot command-line options. More...

#include <schroot-options.h>

List of all members.

Public Member Functions

 Options (int argc, char *argv[])
 The constructor.
virtual ~Options ()
 The destructor.

Public Attributes

sbuild::string_list chroots
 Chroots to use.
sbuild::string_list command
 Command to run.
std::string user
 User to run as.
bool preserve
 Preserve environment.
bool quiet
 Quiet messages.
bool verbose
 Verbose messages.
bool list
 List chroots.
bool info
 Display chroot information.
bool all
 Use all chroots and sessions.
bool all_chroots
 Use all chroots.
bool all_sessions
 Use all sessions.
bool load_chroots
 Load chroots.
bool load_sessions
 Load sessions.
bool version
 Display version information.
sbuild::Session::Operation session_operation
 Session operation to perform.
bool session_force
 Force session operations.

Private Member Functions

void set_session_operation (sbuild::Session::Operation operation)
 Set session operation.


Detailed Description

schroot command-line options.


Constructor & Destructor Documentation

Options::Options int  argc,
char *  argv[]
 

The constructor.

Parameters:
argc the number of arguments.
argv the list of arguments.


Member Function Documentation

void Options::set_session_operation sbuild::Session::Operation  operation  )  [private]
 

Set session operation.

This detects if an operation has already been set (only one operation may be specified at once).

Parameters:
operation the operation to set.


The documentation for this class was generated from the following files:
Generated on Thu Dec 29 17:20:07 2005 for schroot by  doxygen 1.4.5