Repository navigation
plot/plot3d/clip: Simplify the -A syntax to -Ax|y - #8674
Conversation
Summary of changed imagesThis is an auto-generated report of images that have changed on the DVC remote
Image diff(s)Report last updated at commit 31e79ca |
remkos
left a comment
There was a problem hiding this comment.
I felt I should review this since I implemented -Am and -Ap in GMT4 in Sep 2007!
Since then it was extended with -A[x|y|r|t], without it actually requiring a change of code except for needing to parse the options and add to the documentation.
So it is OK to me to bring it back to -A[x|y] as long as the old options are still supported for backward compatibility.
How does this impact the long options?
Good to know the history dating back to 2007! When updating the documentation, we also found a bug that the meaning of
Yes, it's backward compatible.
That's a good question. Currently, long names exist for m/p/x/y/r/t ( Line 29 in 605da46 |
|
The original implementation from 2007 was, according to the e-mail I found about it: As I said, So with this PR (#8674) we are good. Regarding the long options, since they have not been thoroughly introduced, I would keep only |
|
I must have missed that longoption choice that missed to match any of GMT.jl options. I propose to rename it to |
|
In PyGMT, the parameter name is |
|
GMT.jl accepts |
|
Also -E longoptions got it all wrong GMT.jl has |
|
Can this be merge? |
|
Not yet. There are other modules (e.g., |
|
I believe this PR is now ready for final review. |

See #8645 for context.
Closes #8645.