| Home | Trees | Index | Help |
|
|---|
| Package CedarBackup2 :: Package tools :: Module span :: Class SpanOptions |
|
object--+ |Options--+ | SpanOptions
Tool-specific command-line options.
Most of the cback command-line options are exactly what we need here -- logfile path, permissions, verbosity, etc. However, we need to make a few tweaks since we don't accept any actions.
Also, a few extra command line options that we accept are really ignored underneath. I just don't care about that for a tool like this.| Method Summary | |
|---|---|
Validates command-line options represented by the object. | |
| Inherited from Options | |
Initializes an options object. | |
Definition of equals operator for this class. | |
Official string representation for class instance. | |
Informal string representation for class instance. | |
Extracts options into a list of command line arguments. | |
Extracts options into a string of command-line arguments. | |
Property target used to get the actions list. | |
Property target used to get the config parameter. | |
Property target used to get the debug flag. | |
Property target used to get the full flag. | |
Property target used to get the help flag. | |
Property target used to get the logfile parameter. | |
Property target used to get the mode parameter. | |
Property target used to get the output flag. | |
Property target used to get the owner parameter. | |
Property target used to get the quiet flag. | |
Property target used to get the stacktrace flag. | |
Property target used to get the verbose flag. | |
Property target used to get the version flag. | |
Internal method to parse a list of command-line arguments. | |
Property target used to set the actions list. | |
Property target used to set the config parameter. | |
Property target used to set the debug flag. | |
Property target used to set the full flag. | |
Property target used to set the help flag. | |
Property target used to set the logfile parameter. | |
Property target used to set the mode parameter. | |
Property target used to set the output flag. | |
Property target used to set the owner parameter. | |
Property target used to set the quiet flag. | |
Property target used to set the stacktrace flag. | |
Property target used to set the verbose flag. | |
Property target used to set the version flag. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
| Inherited from Options | |
actions: Command-line actions list. | |
config: Command-line configuration file (-c,--config)
parameter. | |
debug: Command-line debug (-d,--debug) flag. | |
full: Command-line full-backup (-f,--full) flag. | |
help: Command-line help (-h,--help) flag. | |
logfile: Command-line logfile (-l,--logfile) parameter. | |
mode: Command-line mode (-m,--mode) parameter. | |
output: Command-line output (-O,--output) flag. | |
owner: Command-line owner (-o,--owner) parameter, as tuple
(user,group). | |
quiet: Command-line quiet (-q,--quiet) flag. | |
stacktrace: Command-line stacktrace (-s,--stack) flag. | |
verbose: Command-line verbose (-b,--verbose) flag. | |
version: Command-line version (-V,--version) flag. | |
| Method Details |
|---|
validate(self)Validates command-line options represented by the object. There are no validations here, because we don't use any actions.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Mar 29 20:58:31 2007 | http://epydoc.sf.net |