Command-Line Help

The JavaTest harness allows you to display the command-line interface in the following forms:

All Information

To display all of the information in command-line help, include -help all at the end of the command line.

> javatest -help all

See About the Command-Line Examples for a description of the use of > javatest.

Topic Information

To display only the command-line help for specific topics, include -help and the name of the topic at the end of the command line.

> javatest -help topic name

See About the Command-Line Examples for a description of the use of > JavaTest harness.

The following table lists the available command-line help topics.

Topic Function
Desktop Displays information about the command-line options for starting the JavaTest harness graphical user interface.
JavaTest harness Agent Displays information about the command-line options for the JavaTest harness Agent.
Batch Mode Displays information about the command-line options for running tests in batch mode.
Configuration Displays information about the command-line options for setting up and changing a configuration.
Environment Displays information about the command-line options for adding values into JavaTest harness environments.
HTTP server Displays information about the command-line options for the JavaTest harness HTTP server.
Options Displays information about the command-line options accepted on the command line.
Files Displays information about the types of files accepted as command-line arguments.

Display the List of Available Topics

To display the list of help topics provided by command-line help, include -help, -usage, or -? at the end of the command line.

> javatest -help

See About the Command-Line Examples for a description of the use of > JavaTest harness.

Word Search Information

The JavaTest harness allows you to search the full command-line help for a specific word or phrase and then displays only the information containing that word or phrase.

To display command-line help information containing a specific word or phrase, include -help and the word or phrase at the end of the command line.

> javatest -help word or phrase

See About the Command-Line Examples for a description of the use of > javatest.

Example:

> javatest -help audit test

The console displays the following output:

Audit    Options for auditing test results
    -audit [-showEnvValues] [-showMultipleEnvValues]
        Audit the test results defined in the current configuration


For complete details and examples, see the JavaTest harness online help. You can access
this directly from the command line with "-onlineHelp ...", or you can
start the JavaTest harness and use the Help menu. The online help is also
available in PDF format in the JavaTest harness documentation directory.


Copyright (C) 2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.