Bug #1252

gmtinfo not reporting as -R by default (man page error)

Added by Remko 12 months ago. Updated 12 months ago.

Status:ClosedStart date:2018-06-18
Priority:NormalDue date:
Assignee:Paul% Done:


Category:-Estimated time:1.00 hour
Target version:Candidate for next bugfix release
Affected version:5.4.2 Platform:


The gmtinfo manpage says the following:

By default, this output will be in the form -Rw/e/s/n which can be used directly in the command line for other programs
(hence only dx and dy are needed), or the output will be in column form for as many columns as there are increments provided.

This is not exactly correct. The default output format is as the following:

$ gmt info -fg <<< "1 2" 
<Standard Input>: N = 1    <1/1>    <2/2>
Only with the -Idx/dy option, who output is in the form -Rw/e/s/n

The manual needs to be updated accordingly. The description is certainly not clear about this.

This affects both GMT5 and GMT6.


#1 Updated by Remko 12 months ago

  • Target version set to Candidate for next bugfix release
  • Estimated time set to 1.00

#2 Updated by Paul 12 months ago

Yes, this is a documentation error. gmtinfo has never behaved that way and has always returned the column ranges as you showed above. it affects GMT4 as well (old minmax has the same behavior). I will have a look.

#3 Updated by Paul 12 months ago

  • Status changed from New to Resolved
  • Assignee changed from Remko to Paul
  • % Done changed from 0 to 100

I fixed this in trunk and will propagate to 5.4 branch. In r20256.

#4 Updated by Remko 12 months ago

Oops. I had just updated the GMT5 branch. But you can revert that as needed.

#5 Updated by Remko 12 months ago

r20258: branch now incorporates same wording as in trunk.

#6 Updated by Remko 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF