openafs/doc/man-pages/pod8/bos_help.pod
Russ Allbery fc5acc0151 pretty-html-synopsis-20060228
Implement proper synopsis wrapping for HTML generation.

This was done in three pieces.  First, add HTML-specific tags to the POD to
mark the synopsis for HTML purposes so that we can apply style information
to it.  Second, update the style sheet to indent all lines except for the
first in the synopsis section.  Third, add the appropriate S<> tags around
option and argument pairs so that we don't wrap between the option and its
argument.

Unfortunately, due to the <I<foo>> style that looks nicer for other reasons,
we have to use the very verbose S<<< >>>.  Oh well.
2006-03-01 05:02:29 +00:00

97 lines
2.3 KiB
Plaintext

=head1 NAME
bos help - Displays help for bos commands
=head1 SYNOPSIS
=for html
<div class="synopsis">
B<bos help> S<<< [B<-topic> <I<help string>>+] >>> [B<-help>]
B<bos h> S<<< [B<-t> <I<help string>>+] >>> [B<-h>]
=for html
</div>
=head1 DESCRIPTION
The B<bos help> command displays the complete online help entry (short
description and syntax statement) for each command operation code
specified by the B<-topic> argument. If the B<-topic> argument is omitted,
the output includes the first line (name and short description) of the
online help entry for every B<bos> command.
To list every bos command whose name or short description includes a
specified keyword, use the B<bos apropos> command.
=head1 OPTIONS
=over 4
=item B<-topic> <I<help string>>+
Indicates each command for which to display the complete online help
entry. Omit the B<bos> part of the command name, providing only the
operation code (for example, specify B<status>, not B<bos status>). If
this argument is omitted, the output briefly describes every B<bos>
command.
=item B<-help>
Prints the online help for this command. All other valid options are
ignored.
=back
=head1 OUTPUT
The online help entry for each bos command consists of the following two
or three lines:
=over 4
=item *
The first line names the command and briefly describes its function.
=item *
The second line lists aliases for the command, if any.
=item *
The final line, which begins with the string C<Usage>, lists the command's
options in the prescribed order. Online help entries use the same symbols
(for example, brackets) as the reference pages in this document.
=back
=head1 EXAMPLES
The following command displays the online help entry for the B<bos status>
command:
% bos help status
bos status: show server instance status
Usage: bos status -server <machine name> [-instance <server
process name>+] [-long] [-cell <cell name>] [-noauth]
[-localauth] [-help]
=head1 PRIVILEGE REQUIRED
None
=head1 SEE ALSO
L<bos(8)>,
L<bos_apropos(8)>
=head1 COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was
converted from HTML to POD by software written by Chas Williams and Russ
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.