HP-UX Software Assistant Frequently Asked Questions (5900-3004, March 2013)

6 Command Line Options
How can I easily find the command line options?
The option “-?” may be used at any level of the command line. Use swa -?” to list the supported
major modes, swa report -?” will list the options available to the report major mode, and swa
get –x -?” will list the extended option available to the get major mode. Each swa major mode has
a dedicated man page. References to these pages can be found in the “See Also section of the
main swa(1m) page.
Can I perform a partial SWA operation?
The report and get major modes perform a number of actions such as downloading an up-to-date
catalog or copying patches into a depot. The step major mode allows access to the individual
operations themselves. To print an issue report for the last run analysis, run the command: # swa
step report –r issue To force a download of the catalog, run the command: # swa step catalog –x
catalog_max_age=0 Full details can be found in the swa-step(1M) man page.
Can I specify more than one ignore file on the command line?
There can only be a single use of the ignore file option, but multiple files can be specified as a
list: # swa report –x ignore_file=”fileA dirB/fileB /home/me/myfile When an ignore file list is
explicitly set, the default ignore file “~/.swa/ignore is not included. If needed, it should be added
to the specified list.
How can I easily find the command line options? 9