Home Libraries Author Links

ctupdate Main Program


Detailed Description

Manual page and main function of the console program ctupdate.


Files

file  ctupdate.cpp
 Main program of the command line based ctupdate application.

Classes

struct  CtUpdate
struct  CtUpdate::Operation
struct  CtUpdate::SourceRoot
struct  CtUpdate::SourceRootList
struct  CtUpdate::DestRoot
struct  CtUpdate::DestRootList
struct  DirData
 A DirData object is assigned to each directory to be handled. More...

Functions

int main (int argc, char *argv[])
 Main function implementing the command.

Variables

const char * CopyRight = "(C) 2005-2008 Tom Michaelis, SysToMath"
const char * Version = "1.17-r350"
static const char * man []
 Man page of the ClearCase Tool Suite command ctupdate.
static const StmCmdOptSpec CtUpdate::optSpec []
 Definition of the command line option parameters.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main function implementing the command.

Definition at line 853 of file ctupdate.cpp.

References stm::basic_logger< std::string, stdIndent, lineLength, lockingPolicy >::AutoInd, CtUpdate::ciCommentFile, CtUpdate::cmdLine, stm::basic_logger< std::string, stdIndent, lineLength, lockingPolicy >::ColonTable, stm::tools::CtExceptions::Content, CopyRight, CtUpdate::defineDestRoot(), CtUpdate::destRoot, CtUpdate::destRootList, stm::tools::CtExceptions::Directory, CtUpdate::evalCommentOption(), CtUpdate::evalExceptionOption(), CtUpdate::evalLabelOption(), CtUpdate::evalModeOption(), stm::tools::Ct::getCiCommentOption(), stm::tools::Ct::getMode(), DirData::handler(), stm::path< NameT >::head(), stm::tools::CtExceptions::Include, stm::basic_logger< std::string, stdIndent, lineLength, lockingPolicy >::Indent, stm::pstring::isContainedIn(), logger(), man, stm::basic_logger< std::string, stdIndent, lineLength, lockingPolicy >::mkPath(), stm::basic_logger< std::string, stdIndent, lineLength, lockingPolicy >::NoPara, CtUpdate::openProtocol(), stm::basic_logger< StringT, stdIndent, lineLength, lockingPolicy >::paragraph(), stm::tools::CtExceptions::PlainFile, CtUpdate::prog, CtUpdate::protocolFile, stm::logger< stdIndent, lineLength, errorConsole, lockingPolicy >::setConsole(), stm::tools::Ct::setMode(), CtUpdate::sourceRoot, StmCmdLineArgumentError, stmCmdLineGetArg(), stmCmdLineGetArgCount(), stmCmdLineGetCurrentArgIndex(), stmCmdLineGetCurrentOptionArg(), stmCmdLineGetCurrentOptionName(), stmCmdLineGetErrbuf(), stmCmdLineGetFirstOptionId(), stmCmdLineGetNextOptionId(), stmCmdLineGetOpterr, StmCmdLineOptionArgError, stmCmdLinePrintfErrbuf(), stmCmdLineSetOpterr, StmDebugAidsErrmsg, StmDebugAidsVerify, StmElements, StmId, stmPrintManual(), stmPrintManualFooter(), stmPrintManualHeader(), stmPrintOptionHelp(), stmPrintSynopsis(), StmRectrlTry, StmRecursDoNotRecurse, stmRecurse(), stmTraverse(), stm::path< NameT >::tail_path(), and Version.


Variable Documentation

const char* CopyRight = "(C) 2005-2008 Tom Michaelis, SysToMath"

Definition at line 71 of file ctupdate.cpp.

const char* Version = "1.17-r350"

Definition at line 72 of file ctupdate.cpp.

const char* man[] [static]

Initial value:

{
"NAME                                                                         ",
"       ctupdate - integrate missing or newer files into a ClearCase VOB      ",
"                                                                             ",
"SYNOPSIS                                                                     ",
"       ctupdate [(--verbose | --tell-actions)] [--protocol=<file>]           ",
"                [(--args-env=<assignment>)...] [--args-from=<file>]          ",
"                (--comment=<string> | --comment-from=<file> | --no-comment)  ",
"                (                                                            ",
"                    [(--label=<label-list> | --replace-label=<label-list>)]  ",
"                    [--no-dest-root-label]                                   ",
"                    [--make=<make-mode>]                                     ",
"                    [--update=<update-mode>]                                 ",
"                    [--erase=<erase-mode>]                                   ",
"                    (                                                        ",
"                        [(--flat | --recursive) [--source-root=<directory>]] ",
"                        [--reset-exceptions]                                 ",
"                        (                                                    ",
"                            [--exclude-file=<spec>] [--exclude=<spec>]       ",
"                            [--include-file=<spec>] [--include=<spec>]       ",
"                        )...                                                 ",
"                        (--source=<spec>)...                                 ",
"                    )...                                                     ",
"                    --dest-root=<directory>                                  ",
"                )...                                                         ",
"       ctupdate --help [<option-name>...]                                    ",
"       ctupdate --version                                                    ",
"                                                                             ",
"DESCRIPTION                                                                  ",
"       The command checks all source file system elements specified by the   "
"       <spec> arguments of option --source, whose corresponding elements in  "
"       the tree spanned by the current destination root specified by the     "
"       <directory> argument of option --dest-root are missing or are out of  "
"       date.  For each such source file system element the program           "
"       determines, if it has to be handled by matching its current source    "
"       root relative path against each <spec> element contained in the       "
"       exception list of the current destination root till a match succeeds. "
"       The first successful match stops the matching process and if the      "
"       matching element was marked for exclusion, the file system element is "
"       not handled, else if the element was marked for inclusion or if none  "
"       of the exception list elements matches, the file system element is    "
"       handled.  Each file system element determined to be handled is copied "
"       to the destination tree according to the options --make and --update. "
"       Option --erase controls if destination file system elements in        "
"       directories corresponding to a source directory not existing there are"
"       erased.  Unless option --flat is in effect, for source file system    "
"       elements designating a directory the whole tree spanned by this       "
"       directory is handled.                                                 ",
"       The <spec> option arguments may contain pattern matching operators as "
"       explained in section FILENAME EXPANSION.  Be sure to quote them       "
"       according to the needs of the shell used.                             ",
"       For ctupdate to work, the <directory> argument of option --dest-root  "
"       has to designate a ClearCase VOB element, and exactly one of the      "
"       comment options --comment, --comment-from or --no-comment has to be   "
"       given.                                                                ",
"       For convenience, the option specifiers --source= and --dest-root= of  "
"       trailing options may be omitted.                                      ",
"       Unless option --help or --version is supplied, the command returns    "
"       with an exit code 0 on success and with an exit code 1, if any error  "
"       did occur.                                                            ",
"                                                                             ",
"GLOBAL OPTIONS                                                               ",
"       --help                                                                ",
"       -h     If no argument <option-name> follows, print the command man    "
"              page on standard output, else the description of the options   "
"              <option-name> and exit with exit code 2.  The arguments        "
"              <option-name> shall be stated without leading '-' or '--'.     ",
"                                                                             ",
"       --version                                                             ",
"       -V     Print version info on standard output and exit with exit code  "
"              2.                                                             ",
"                                                                             ",
"       --verbose                                                             ",
"       -v     Issue additional diagnostic messages on stdout.  This option   "
"              acts globally and is mutually exclusive with the option        "
"              '--tell-actions'.                                              ",
"                                                                             ",
"       --tell-actions                                                        ",
"       -t     Perform no actions, issue messages on stdout instead.  This    "
"              option acts globally and is mutually exclusive with the option "
"              '--verbose'.                                                   ",
"                                                                             ",
"       --protocol=<file>                                                     ",
"       -P <file>                                                             ",
"              Generate the application protocol in <file>.  By default, the  "
"              protocol file 'ctupdate.txt' is generated in the current       "
"              directory, unless the current directory is not writable or the "
"              generation of a protocol is switched off by '--protocol=-'.    "
"              This option acts globally.                                     ",
"                                                                             ",
"       --args-env=<assignment>                                               ",
"       -E <assignment>                                                       ",
"              Defines an argument environment variable. The option argument  "
"              <assignment> shall be of the form <name>=<value>.              ",
"              The argument environment variable <name> with value <value> can"
"              be used in option or command arguments of the command line with"
"              the construct '@{<name>}' which is replaced then by <value>.   "
"              If an argument environment variable <name> is not found, next a"
"              shell environment variable <name> is searched.  If also this   "
"              variable does not exist, the construct is not replaced.        ",
"                                                                             ",
"       --args-from=<file>                                                    ",
"       -A <file>                                                             ",
"              Substitutes the content of <file> into the command line.  The  "
"              file <file> shall contain valid command line options and       "
"              command arguments with the extension that newline or '#' or ';'"
"              characters followed by arbitrary content up to the line end are"
"              regarded as white space.                                       ",
"              Especially <file> may contain other options '--args-from', or  "
"              argument or shell environment variable definitions and usages. ",
"                                                                             ",
"       --comment=<string>                                                    ",
"       -c <string>                                                           ",
"              Use <string> as ClearCase check in comment.  This option acts  "
"              globally.                                                      ",
"                                                                             ",
"       --comment-from=<file>                                                 ",
"       -C <file>                                                             ",
"              Use the content of <file> as ClearCase check in comment.  The  "
"              file shall not be inside the tree spanned by <dest-directory>. "
"              This option acts globally.                                     ",
"                                                                             ",
"       --no-comment                                                          ",
"       -n     Use no ClearCase check in comment.  This option acts globally. ",
"                                                                             ",
"       --dest-root=<directory>                                               ",
"       -D <directory>                                                        ",
"              End the scope of the current destination root, define its path "
"              by <directory> and begin a new destination root scope with     "
"              still undefined path.  The destination root of the just ended  "
"              destination root scope corresponds to all source roots in the  "
"              source tree defined within this scope.                         ",
"                                                                             ",
"DESTINATION ROOT LOCAL OPTIONS                                               ",
"       --source-root=<directory>                                             ",
"       -S <directory>                                                        ",
"              Set <directory> as current source root.  This current source   "
"              root always corresponds to the current destination root in the "
"              destination tree.  This means that all <spec> arguments        "
"              following this option are regarded relative to <directory> in  "
"              the source tree and relative to the current destination root in"
"              the destination tree.  The source root defined by <directory>  "
"              is valid till another option --source-root occurs or till the  "
"              scope of the current destination root is ended by option       "
"              --dest-root.                                                   ",
"              The default value of the current source root is the current    "
"              directory and since this is a redefinable destination root     "
"              local option, this means that for each destination root this   "
"              default can be redefined by a new --source-root option.        ",
"                                                                             ",
"       --label=<label-list>                                                  ",
"       -l <label-list>                                                       ",
"              Label all current destination root file system elements handled"
"              which are plain files or directories just checked in or        "
"              containing at least one element which also has been labeled    "
"              with the labels specified by the non-empty whitespace or comma "
"              separated list <label-list>.                                   ",
"              The ClearCase label names are generated from each list element "
"              by brace expansion as in the bash shell.  Be sure to quote     "
"              <label-list> according to the needs of the shell used.         ",
"              If a label name does not yet exist, it is created.  This option"
"              may be used only in conjunction with '--mode=checked-in' and   "
"              '--update=checked-in'.  It is an error, if some other ClearCase"
"              version of an element to be labeled already bears the label.   ",
"              This is a destination root local option, meaning that for each "
"              destination root a new set of labels has to be defined.        ",
"                                                                             ",
"       --replace-label=<label-list>                                          ",
"       -L <label-list>                                                       ",
"              Label all current destination root file system elements handled"
"              which are plain files or directories just checked in or        "
"              containing at least one element which also has been labeled    "
"              with the labels specified by the non-empty whitespace or comma "
"              separated list <label-list>.                                   ",
"              The ClearCase label names are generated from each list element "
"              by brace expansion as in the bash shell.  Be sure to quote     "
"              <label-list> according to the needs of the shell used.         ",
"              If a label name does not yet exist, it is created.  This option"
"              may be used only in conjunction with '--mode=checked-in' and   "
"              '--update=checked-in'.  If some other Clearcase version of an  "
"              element to be labeled already bears the label, this existing   "
"              label is moved to the version just handled.                    ",
"              This is a destination root local option, meaning that for each "
"              destination root a new set of labels has to be defined.        ",
"                                                                             ",
"       --no-dest-root-label                                                  ",
"       -N     Do not label the current destination root directory.  By       "
"              default the current destination root directory is labeled as   "
"              other destination directories.                                 ",
"              This is a destination root local option, meaning that for each "
"              destination root this option is not in effect by default.      ",
"                                                                             ",
"       --make=<make-mode>                                                    ",
"       -m <make-mode>                                                        ",
"              Make mode: <make-mode> is one of the following modes for making"
"              a new destination element:                                     ",
"              'vp' or 'view-private': make a view private element (default), ",
"              'ci' or 'checked-in': make a checked in VOB element,           ",
"              'co' or 'checked-out': make a checked out VOB element.         ",
"              If the defaults '--make=view-private', '--update=reversible'   "
"              and '--erase=no' have been used, the actions done by ctupdate  "
"              may be revoked by 'ctoperate --operation=remove'.              ",
"              This is a destination root local option, meaning that for each "
"              destination root, initially the default make mode              "
"              'view-private' is in effect, and a new make mode may be        "
"              defined.                                                       ",
"                                                                             ",
"       --update=<update-mode>                                                ",
"       -u <update-mode>                                                      ",
"              Update mode: <mode> is one of the following modes for updating "
"              an existing destination element:                               ",
"              'rv' or 'reversible': update the element reversibly (default), ",
"              'ci' or 'checked-in': update the element and check it in,      ",
"              'co' or 'checked-out': update it leaving it checked out.       ",
"              If the defaults '--make=view-private', '--update=reversible'   "
"              and '--erase=no' have been used, the actions done by ctupdate  "
"              may be revoked by 'ctoperate --operation=remove'.              ",
"              This is a destination root local option, meaning that for each "
"              destination root, initially the default update mode            "
"              'reversible' is in effect, and a new update mode may be        "
"              defined.                                                       ",
"                                                                             ",
"       --erase=<erase-mode>                                                  ",
"       -e <erase-mode>                                                       ",
"              Erase mode: <erase-mode> is one of the following modes for     "
"              erasing a destination element which does not correspond to a   "
"              source element:                                                ",
"              'no': do not erase the element (default),                      ",
"              'vp' or 'view-private': erase it only if it is view private,   ",
"              'all': erase it under all circumstances.                       ",
"              If the defaults '--make=view-private', '--update=reversible'   "
"              and '--erase=no' have been used, the actions done by ctupdate  "
"              may be revoked by 'ctoperate --operation=remove'.              ",
"              This is a destination root local option, meaning that for each "
"              destination root, initially the default erase mode 'no' is in  "
"              effect, and a new erase mode may be defined.                   ",
"                                                                             ",
"       --flat                                                                ",
"       -f     Suppress recursive descent into the trees spanned by source    "
"              directories.  This is a redefinable destination root local     "
"              option, meaning that for each destination root, it has to be   "
"              set anew and, moreover can be reset for each new source root by"
"              option --recursive.                                            ",
"                                                                             ",
"       --recursive                                                           ",
"       -r     Request recursive descent into the trees spanned by source     "
"              directories.  This option is in effect by default and since it "
"              is a redefinable destination root local option, this means that"
"              for each destination root, it is initially in effect, but can  "
"              be reset for each new source root by option --flat.            ",
"                                                                             ",
"       --exclude-file=<spec>                                                 ",
"       -x <spec>                                                             ",
"              Add all source file system elements matched by <spec> to the   "
"              exception list of the current destination root and mark them   "
"              for exclusion.  This option may be supplied more than once and "
"              <spec> may contain pattern matching operators as explained in  "
"              section FILENAME EXPANSION.  Be sure to quote <spec> according "
"              to the needs of the shell used.                                ",
"              If <spec> ends with a path separator character, the matching   "
"              process is restricted to directories else to plain files.  The "
"              matching occurs recursively for all defined source file system "
"              elements of the current source root.  If <spec> begins with a  "
"              path separator the matching is anchored at this source root.   ",
"              This is a destination root local option, meaning that for each "
"              destination root the exception list is initially empty.        ",
"                                                                             ",
"       --exclude=<spec>                                                      ",
"       -X <spec>                                                             ",
"              Add all source file system elements matched by <spec> to the   "
"              exception list of the current destination root and mark them   "
"              for exclusion.  This option may be supplied more than once and "
"              <spec> may contain pattern matching operators as explained in  "
"              section FILENAME EXPANSION.  Be sure to quote <spec> according "
"              to the needs of the shell used.                                ",
"              If <spec> ends with a path separator character, the matching   "
"              process is restricted to directories.  The matching occurs     "
"              recursively for all defined source file system elements of the "
"              current source root.  If <spec> begins with a path separator   "
"              the matching is anchored at this source root.                  ",
"              This is a destination root local option, meaning that for each "
"              destination root the exception list is initially empty.        ",
"                                                                             ",
"       --include-file=<spec>                                                 ",
"       -i <spec>                                                             ",
"              Add all source file system elements matched by <spec> to the   "
"              exception list of the current destination root and mark them   "
"              for inclusion.  This option may be supplied more than once and "
"              <spec> may contain pattern matching operators as explained in  "
"              section FILENAME EXPANSION.  Be sure to quote <spec> according "
"              to the needs of the shell used.                                ",
"              If <spec> ends with a path separator character, the matching   "
"              process is restricted to directories else to plain files.  The "
"              matching occurs recursively for all defined source file system "
"              elements of the current source root.  If <spec> begins with a  "
"              path separator the matching is anchored at this source root.   ",
"              This is a destination root local option, meaning that for each "
"              destination root the exception list is initially empty.        ",
"                                                                             ",
"       --include=<spec>                                                      ",
"       -I <spec>                                                             ",
"              Add all source file system elements matched by <spec> to the   "
"              exception list of the current destination root and mark them   "
"              for inclusion.  This option may be supplied more than once and "
"              <spec> may contain pattern matching operators as explained in  "
"              section FILENAME EXPANSION.  Be sure to quote <spec> according "
"              to the needs of the shell used.                                ",
"              If <spec> ends with a path separator character, the matching   "
"              process is restricted to directories.  The matching occurs     "
"              recursively for all defined source file system elements of the "
"              current source root.  If <spec> begins with a path separator   "
"              the matching is anchored at this source root.                  ",
"              This is a destination root local option, meaning that for each "
"              destination root the exception list is initially empty.        ",
"                                                                             ",
"       --reset-exceptions                                                    ",
"       -d     Delete the exception list of the current destination root.     ",
"                                                                             ",
"SOURCE ROOT LOCAL OPTIONS                                                    ",
"       --source=<spec>                                                       ",
"       -s <spec>                                                             ",
"              Add all file system elements in the tree spanned by the current"
"              source root matched by <spec> to the list of source file system"
"              elements to be handled for this source root.  This option may  "
"              be supplied more than once and <spec> may contain pattern      "
"              matching operators as explained in section FILENAME EXPANSION  "
"              with the exception that operator '**' is not supported. Be sure"
"              to quote <spec> according to the needs of the shell used.      ",
"              If <spec> ends with a path separator character, the matching   "
"              process is restricted to directories.  As the matching always  "
"              occurs relative to the current source root, <spec> shall be    "
"              relative and designate file system elements inside the tree    "
"              spanned by the current source root.                            ",
"              This is a source root local option, meaning that for each      "
"              source root the list of file system elements to be handled is  "
"              initially empty.                                               ",
"                                                                             ",
"FILENAME EXPANSION                                                           ",
"       The evaluation of the <spec> arguments is done using pattern matching "
"       based file name expansion.  If <spec> contains one of the unescaped   "
"       extended regular expression operators '(' or '|', it is interpreted as"
"       extended regular expression as defined in the Open System Group Base  "
"       Specification Issue 6, IEEE Std 1003.1-2004 (XBD: 9.4).  Otherwise if "
"       <spec> contains no unescaped '{', it is interpreted as filename       "
"       expansion pattern.  Else <spec> is brace expanded as in the bash shell"
"       and each of the resulting words is interpreted as filename expansion  "
"       pattern.  Filename expansion patterns are defined as in IEEE Std      "
"       1003.1-2004 (XCU: 2.13.3).                                            ",
"       As mandated by IEEE std 1003.1-2004 these pattern matching based file "
"       name expansion operations occur for each path separator separated part"
"       of <spec> independently.  To circumvent this, the operator '**' as    "
"       last characters of such a <spec> part matches a sequence of zero or   "
"       more pairs each consisting of a file system element name component and"
"       a path separator.                                                     ",
"       The bracket expressions used in the regular expressions and in the    "
"       filename expansion patterns conform to IEEE Std 1003.1-2004 (XBD:     "
"       9.3.5) with the exception that equivalence classes [=x=] of collating "
"       elements are not supported.                                           ",
"       On windows systems the escape character for extended regular          "
"       expressions, filename expansion patterns and brace expansion is '%'   "
"       instead of the usual '\\' and as path separators both '/' and '\\' are"
"       allowed.  On other systems only '/' is allowed as path separator and  "
"       both '\\' and '%' may be used as escape characters.  So for           "
"       portability reasons it is recommended on all systems to use '/' as    "
"       path separator and '%' as escape character.                           ",
"                                                                             ",
"EXAMPLE                                                                      ",
"       Let the environment variable 'STMDEVLROOT' be set to the value        "
"       'D:\\Development\\SysToMath\\wcopies', 'PACKAGE' to the value         "
"       'LibStmC', and 'CLEARCASEVOB' to the value 'Z:\\wbit_cr'.             ",
"       Moreover, let the ctupdate argument file 'ctupdate.arg' in the package"
"       directory have the following content:                                 ",
"       --args-env=StmPackage=@{PACKAGE}                                      ",
"       --args-env=StmPkgRoot=@{STMDEVLROOT}/@{StmPackage} # Package directory",
"       --protocol=@{StmPkgRoot}/ctupdate.txt                                 ",
"       --make=checked-in                                                     ",
"       --update=checked-in                                                   ",
"       --erase=all                                                           ",
"       --comment-from=@{StmPkgRoot}/release.txt                              ",
"       --no-dest-root-label                                                  ",
"       --source-root=@{STMDEVLROOT}                                          ",
"       --exclude=.svn/                                                       ",
"       --exclude=\"(DebugMt|DebugMtDll|DebugMtStaticRt)/\"                   ",
"       --exclude=\"(ReleaseMt|ReleaseMtDll|ReleaseMtStaticRt)/\"             ",
"       --exclude-file=\"*.{suo,ncb,aps,user,log,bak}\"                       ",
"       --exclude-file=\"/@{StmPackage}/etc/revision*\"                       ",
"       --exclude-file=/@{StmPackage}/release.txt                             ",
"       --exclude-file=/@{StmPackage}/ctupdate.txt                            ",
"       --source=@{StmPackage}                                                ",
"       --dest-root=@{CLEARCASEVOB}/tools/utilities/packets                   ",
"       Then with the package directory as the current working directory, the "
"       command                                                               ",
"       'ctupdate --label=LibStmC-1.7.328 --args-from=ctupdate.args'          ",
"       will update and label the package 'LibStmC' in the ClearCase VOB. The "
"       according protocol will be written to the file 'ctupdate.txt'.        "
}
Man page of the ClearCase Tool Suite command ctupdate.

Definition at line 84 of file ctupdate.cpp.

const StmCmdOptSpec CtUpdate::optSpec [static, private, inherited]

Initial value:

{
    {StmId (h), "h\0help\0", StmCmdOptSpecOnlyOption},
    {StmId (V), "V\0version\0", StmCmdOptSpecOnlyOption},
    {StmId (v), "v\0verbose\0"},
    {StmId (t), "t\0tell-actions\0"},
    {StmId (P), "P\0protocol\0", StmCmdOptSpecRequiresArg},
    {StmId (E), "E\0args-env\0", StmCmdOptSpecArgsEnvOption | StmCmdOptSpecRequiresArg},
    {StmId (A), "A\0args-from\0", StmCmdOptSpecArgsFromOption | StmCmdOptSpecRequiresArg},
    {StmId (c), "c\0comment\0", StmCmdOptSpecRequiresArg},
    {StmId (C), "C\0comment-from\0", StmCmdOptSpecRequiresArg},
    {StmId (n), "n\0no-comment\0"},
    {StmId (l), "l\0label\0", StmCmdOptSpecRequiresArg},
    {StmId (L), "L\0replace-label\0", StmCmdOptSpecRequiresArg},
    {StmId (N), "N\0no-dest-root-label\0"},
    {StmId (m), "m\0make\0", StmCmdOptSpecRequiresArg},
    {StmId (u), "u\0update\0", StmCmdOptSpecRequiresArg},
    {StmId (e), "e\0erase\0", StmCmdOptSpecRequiresArg},
    {StmId (f), "f\0flat\0"},
    {StmId (r), "r\0recursive\0"},
    {StmId (S), "S\0source-root\0", StmCmdOptSpecRequiresArg},
    {StmId (x), "x\0exclude-file\0", StmCmdOptSpecRequiresArg},
    {StmId (X), "X\0exclude\0", StmCmdOptSpecRequiresArg},
    {StmId (i), "i\0include-file\0", StmCmdOptSpecRequiresArg},
    {StmId (I), "I\0include\0", StmCmdOptSpecRequiresArg},
    {StmId (d), "d\0reset-exceptions\0"},
    {StmId (s), "s\0source\0", StmCmdOptSpecRequiresArg},
    {StmId (D), "D\0dest-root\0", StmCmdOptSpecRequiresArg},
    {0, NULL}
}
Definition of the command line option parameters.

Definition at line 548 of file ctupdate.cpp.

Referenced by CtUpdate::operator()().


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).