Skip to content

grdhisteq -D<table> writes to standard output #5785

@maxrjones

Description

@maxrjones

Description of the problem

Even when <table> is provided after -D for grdhisteq, the output still gets sent to standard output. Should the docs or code be updated? This is the current description in the usage message:

  -D[<table>]
     Dump level information to <table> or standard output if not given.

Full script that generated the error

gmt grdhisteq @earth_relief_01d -R-5/5/-5/5 -Dtest.txt

Actual outcome

Result written to standard output.

Expected outcome

Result written to test.txt

System information

  • Operating system: macOS
  • GMT version (gmt --version): 6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions