Skip to content

Commit cb66147

Browse files
committed
docs: man page updates
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent 75d5094 commit cb66147

File tree

3 files changed

+31
-29
lines changed

3 files changed

+31
-29
lines changed

docs/man-openmpi/man1/mpisync.1.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ Open MPI timing tools
1212
SYNTAX
1313
------
1414

15-
| **mpisync** [*options*]
16-
| **mpirun_prof** [*options*]
17-
| **ompi_timing_post** [*<timing-file>*] [*<processed-file>*]
15+
``mpisync [options]``
16+
17+
``mpirun_prof [options]``
18+
19+
``ompi_timing_post [<timing-file>] [<processed-file>]``
1820

1921

2022
DESCRIPTION

docs/man-openmpi/man1/ompi-wrapper-compiler.1.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ mpicc, mpic++, mpicxx, mpifort, mpijavac -- Open MPI wrapper compilers
1414
SYNTAX
1515
------
1616

17-
``mpicc [-showme|-showme:compile|-showme:link] ...``
17+
``mpicc [--showme | --showme:compile | --showme:link] ...``
1818

19-
``mpic++ [-showme|-showme:compile|-showme:link] ...``
19+
``mpic++ [--showme | --showme:compile | --showme:link] ...``
2020

21-
``mpicxx [-showme|-showme:compile|-showme:link] ...``
21+
``mpicxx [--showme | --showme:compile | --showme:link] ...``
2222

23-
``mpifort [-showme|-showme:compile|-showme:link] ...``
23+
``mpifort [--showme | --showme:compile | --showme:link] ...``
2424

25-
``mpijavac [-showme|-showme:compile|-showme:link] ...``
25+
``mpijavac [--showme | --showme:compile | --showme:link] ...``
2626

2727
The following deprecated commands are also available |mdash| but
2828
``mpifort`` should be used instead:
2929

30-
``mpif77 [-showme|-showme:compile|-showme:link] ...``
30+
``mpif77 [--showme | --showme:compile | --showme:link] ...``
3131

32-
``mpif90 [-showme|-showme:compile|-showme:link] ...``
32+
``mpif90 [--showme | --showme:compile | --showme:link] ...``
3333

3434
On case-sensitive filesystems, the following command will also be
3535
available:
3636

37-
``mpiCC [-showme|-showme:compile|-showme:link] ...``
37+
``mpiCC [--showme | --showme:compile | --showme:link] ...``
3838

3939

4040
OPTIONS
@@ -50,7 +50,7 @@ The options below apply to all of the wrapper compilers:
5050
the program.
5151

5252
.. note:: If a non-filename argument is passed on the command line,
53-
the *-showme* option will *not* display any additional
53+
the ``--showme`` option will *not* display any additional
5454
flags. For example, both ``"mpicc --showme`` and
5555
``mpicc --showme my_source.c`` will show all the
5656
wrapper-supplied flags. But ``mpicc
@@ -174,17 +174,17 @@ between different installations of the same version of Open MPI.
174174
Indeed, since the wrappers are simply thin shells on top of an
175175
underlying compiler, there are very, very few compelling reasons *not*
176176
to use Open MPI's wrapper compilers. When it is not possible to use
177-
the wrappers directly, the ``-showme:compile`` and ``-showme:link``
177+
the wrappers directly, the ``--showme:compile`` and ``--showme:link``
178178
options should be used to determine what flags the wrappers would have
179179
used. For example:
180180

181181
.. code:: sh
182182
183-
shell$ cc -c file1.c `mpicc -showme:compile`
183+
shell$ cc -c file1.c `mpicc --showme:compile`
184184
185-
shell$ cc -c file2.c `mpicc -showme:compile`
185+
shell$ cc -c file2.c `mpicc --showme:compile`
186186
187-
shell$ cc file1.o file2.o `mpicc -showme:link` -o my_mpi_program
187+
shell$ cc file1.o file2.o `mpicc --showme:link` -o my_mpi_program
188188
189189
190190
NOTES

docs/man-openshmem/man1/oshmem-wrapper-compiler.1.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ oshcc, oshcxx, oshc++, oshfort, shmemcc, shmemcxx, shmemc++, shmemfort -- OpenSH
1919
SYNTAX
2020
------
2121

22-
``oshcc [-showme|-showme:compile|-showme:link] ...``
22+
``oshcc [--showme | --showme:compile | --showme:link] ...``
2323

24-
``oshcxx [-showme|-showme:compile|-showme:link] ...``
24+
``oshcxx [--showme | --showme:compile | --showme:link] ...``
2525

26-
``oshc++ [-showme|-showme:compile|-showme:link] ...``
26+
``oshc++ [--showme | --showme:compile | --showme:link] ...``
2727

28-
``oshfort [-showme|-showme:compile|-showme:link] ...``
28+
``oshfort [--showme | --showme:compile | --showme:link] ...``
2929

30-
``shmemcc [-showme|-showme:compile|-showme:link] ...``
30+
``shmemcc [--showme | --showme:compile | --showme:link] ...``
3131

32-
``shmemcxx [-showme|-showme:compile|-showme:link] ...``
32+
``shmemcxx [--showme | --showme:compile | --showme:link] ...``
3333

34-
``shmemc++ [-showme|-showme:compile|-showme:link] ...``
34+
``shmemc++ [--showme | --showme:compile | --showme:link] ...``
3535

36-
``shmemfort [-showme|-showme:compile|-showme:link] ...``
36+
``shmemfort [--showme | --showme:compile | --showme:link] ...``
3737

3838

3939
OPTIONS
@@ -49,7 +49,7 @@ The options below apply to all of the wrapper compilers:
4949
the program.
5050

5151
.. note:: If a non-filename argument is passed on the command line,
52-
the *-showme* option will *not* display any additional
52+
the ``--showme`` option will *not* display any additional
5353
flags. For example, both ``"oshcc --showme`` and
5454
``oshcc --showme my_source.c`` will show all the
5555
wrapper-supplied flags. But ``oshcc
@@ -161,16 +161,16 @@ between different installations of the same version of OpenSHMEM.
161161
Indeed, since the wrappers are simply thin shells on top of an
162162
underlying compiler, there are very, very few compelling reasons *not*
163163
to use ``oshcc``. When it is not possible to use the wrappers
164-
directly, the ``-showme:compile`` and ``-showme:link`` options should be
164+
directly, the ``--showme:compile`` and ``--showme:link`` options should be
165165
used to determine what flags the wrappers would have used. For example:
166166

167167
.. code:: sh
168168
169-
shell$ cc -c file1.c `shmemcc -showme:compile`
169+
shell$ cc -c file1.c `shmemcc --showme:compile`
170170
171-
shell$ cc -c file2.c `shmemcc -showme:compile`
171+
shell$ cc -c file2.c `shmemcc --showme:compile`
172172
173-
shell$ cc file1.o file2.o `shmemcc -showme:link` -o my_oshmem_program
173+
shell$ cc file1.o file2.o `shmemcc --showme:link` -o my_oshmem_program
174174
175175
176176
NOTES

0 commit comments

Comments
 (0)