Skip to content

Commit

Permalink
nearneighbor.rst: unit is optional for -S (#8374)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbj committed Feb 17, 2024
1 parent 3d70ad9 commit 24ee2e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/rst/source/nearneighbor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Synopsis
**gmt nearneighbor** [ *table* ] |-G|\ *outgrid*
|SYN_OPT-I|
|SYN_OPT-R|
|-S|\ *search_radius*
|-S|\ *search_radius*\ [*unit*]
[ |-E|\ *empty* ]
[|-N|\ *sectors*\ [**+m**\ *min_sectors*]\ \|\ **n**]
[ |SYN_OPT-V| ]
Expand Down Expand Up @@ -92,9 +92,10 @@ Required Arguments

.. _-S:

**-S**\ *search_radius*
**-S**\ *search_radius*\ [*unit*]
Sets the *search_radius* that determines which data points are
considered close to a node. Append the distance unit (see `Units`_).
considered close to a node. Append the distance unit (see `Units`_)
if input is geographic coordinates.

Optional Arguments
------------------
Expand Down

0 comments on commit 24ee2e5

Please sign in to comment.