#include <schroot-options.h>
Collaboration diagram for schroot::options:
Public Types | |
enum | action_type { ACTION_SESSION_AUTO, ACTION_SESSION_BEGIN, ACTION_SESSION_RECOVER, ACTION_SESSION_RUN, ACTION_SESSION_END, ACTION_VERSION, ACTION_LIST, ACTION_INFO, ACTION_LOCATION, ACTION_CONFIG } |
The action to perform. More... | |
Public Member Functions | |
options (int argc, char *argv[]) | |
The constructor. | |
virtual | ~options () |
The destructor. | |
Public Attributes | |
action_type | action |
The action to perform. | |
sbuild::string_list | chroots |
Chroots to use. | |
std::string | chroot_path |
Chroot to print path. | |
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 | 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 | session_force |
Force session operations. | |
bool | dchroot_compat |
dchroot(1) compatibility mode. | |
Private Member Functions | |
void | set_action (action_type action) |
Set action. | |
bool | all_used () const |
Check if any of the --all options have been used. |
|
|
The constructor.
|
|
The destructor.
|
|
Check if any of the --all options have been used.
|
|
Set action. This detects if an action has already been set (only one action may be specified at once).
|
|
The action to perform.
|
|
Use all chroots and sessions.
|
|
Use all chroots.
|
|
Use all sessions.
|
|
Chroot to print path.
|
|
Chroots to use.
|
|
Command to run.
|
|
dchroot(1) compatibility mode.
|
|
Load chroots.
|
|
Load sessions.
|
|
Preserve environment.
|
|
Quiet messages.
|
|
Force session operations.
|
|
User to run as.
|
|
Verbose messages.
|