Sun Update Connection - Automated Baseline Management Service 1.0 User's Guide

TLP Command-Line Functionality

The TLP 2.3 tool uses the following commands, options, and arguments:


tlp [global options] command [command options] [arguments] 

TLP behavior is steered by commands. These commands determine the mode of operation for the tool. For example, the command, tlp main, is used to generate patch sets. Other commands are used for maintenance or verification purposes. The name of a command reflects the name of the corresponding module, as it is defined in the default configuration file. See TLP Configuration Information. There are two different sets of options:

TLP Global Options

The following are the TLP global options:

--conf config, -c config

Provides a configuration file. With this option, you can point TLP to a different configuration file. The default configuration file name depends on the name of the actual script, or the symbolic link that points to this script.

--help, -h

Prints out a help message. Depending on the use of the --verbose option, either the syntax alone or a detailed description is printed out.

--verbose, -v

Prints verbose output. This option influences help messages, as well as the output that is created during a TLP run.

--quiet

Avoids any screen output (Be quiet). This option is especially useful for automated operations, such as in the running of cron jobs.

--version

Prints version information. This option prints the version number of TLP, the version of Perl used, along with the version numbers of all the modules used within TLP, and the Perl module that is used.

TLP Server Command Options

You can obtain a list of all the available TLP commands by typing the following command:


$ tlp -h

The following are the tlp command options and their associated TLP modules:

main (Tlp::Main)

Main module for creating a patch set

dir-producer (Tlp::Producer::DirProducer)

Module for creating a patch set within a directory

patchdiag (Tlp::Resolver::PatchDiag)

Dependency resolver that use the patchdiag.xref file

snapshot (Tlp::Snapshot::Snapshot)

Module for handling snapshots

sunsolve (Tlp::Loader::SunSolve)

Module for downloading a patch by using a URL

repo (Tlp::Repository::DirRepository)

Module for handling snapshots stored in a directory

explorer (Tlp::Collector::Explorer)

This module is used for maintenance of Explorer dumps.

These TLP module options are module-specific and vary from module to module. To obtain the options for a specific command, use the following command:


$ tlp -h command

Or, you can use this command:


$ tlp -v -h command

where command is the name of the module, for example, main.