Closed seisman closed 3 years ago
Seems you have a hanging "c" after -JG47/-20/? which is not expected. There is no reason to append a unit to something that will be computed. So i would suggest we do this:
For plan 2, I think it will be just as easy to find either a lone trailing / -in -J or look for the few cases where the scale or width is not the last argument (-JP I think) so that we look for //, meaning a missing argument, no?
Seems you have a hanging "c" after -JG47/-20/? which is not expected. There is no reason to append a unit to something that will be computed.
Yes, it makes sense.
For plan 2, I think it will be just as easy to find either a lone trailing / -in -J or look for the few cases where the scale or width is not the last argument (-JP I think) so that we look for //, meaning a missing argument, no?
We discussed this before in https://github.com/GenericMappingTools/gmt/issues/3916. I'm OK with eliminating ?
, but I don't like it, because I feel that 47/-20/
or 47/-20//60
is not as readable as 47/-20/?
or 47/-20/?/60
. Especially users may only type a single /
even though the documentation uses //
.
Perhaps we can make the ? optional. We have to be backwards compatible anyway. But the csh ? problem is real so need to be addressed.
So perhaps close this as not really a bug but feature?
Perhaps we can make the ? optional.
Yes, this would be better!
Closing as not a bug.
Perhaps we can make the ? optional.
Don't remember how but I'm using the?
in Julia generated commands.
Yep, not getting rid of it but making that optional is the goal.
Full script that generated the error
The issue was originally found in https://github.com/GenericMappingTools/pygmt/pull/788
Full error message
The red Madagascar is not incorrectly placed.
System information
gmt --version
):6.2.0_36c8106_2021.02.05