# Command-Line Help

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

- All information
- Topic information
- Word search information

## Displaying All Information

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

> jtharness `-help all`

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

## Displaying 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.

> jtharness `-help` topic name

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

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

Topic | Function
--- | ---
Desktop | Displays information about the command-line options for starting the harness graphical user interface.
harness Agent | Displays information about the command-line options for the 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 harness environments.
HTTP server | Displays information about the command-line options for the 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.

> jtharness `-help`

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

## Searching for Words and Phrases

The 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.

> jtharness `-help` word or phrase

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

Example: > jtharness `-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
        -showAudit   Show the Audit Manager window

For complete details and examples, see the online help. You can access help directly from the command line with `-onlineHelp` word, or you can start the JT Harness and use the Help menu.

Copyright © 2004, 2011, Oracle and/or its affiliates. All rights reserved.