Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-U doesn't work with a single offset value #7107

Closed
seisman opened this issue Nov 24, 2022 · 0 comments · Fixed by #7108
Closed

-U doesn't work with a single offset value #7107

seisman opened this issue Nov 24, 2022 · 0 comments · Fixed by #7108
Labels
bug Something isn't working

Comments

@seisman
Copy link
Member

seisman commented Nov 24, 2022

Description of the problem

$ gmt plot -R0/10/0/10 -JX4c -Baf -T -Uabc+o-54p -pdf map
plot [ERROR]: Option -U parsing failure. Correct syntax:

  -U[<label>][+c][+j<just>][+o<dx>[/<dy>]]
     Plot GMT Unix System Time stamp and optionally append a <label>. Optional modifiers:
       +c Use the command line as the label [ON].
       +j Set frame justification point [BL].
       +o Offset stamp by <dx>[/<dy>] [-54p/-54p].
plot [ERROR]: Offending option -Uabc+o-54p

Using -Uabc+o-54p/-54p works.

System information

  • GMT version (gmt --version): 6.5.0 on 2022.11.21
@seisman seisman added the bug Something isn't working label Nov 24, 2022
PaulWessel added a commit that referenced this issue Nov 24, 2022
We incorrectly expected the return code to be 2 when one item was given.  Closes #7107.
PaulWessel added a commit that referenced this issue Nov 24, 2022
We incorrectly expected the return code to be 2 when one item was given.  Closes #7107.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant