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

[Backport 6.1] Let grdcontour -N support the oneliner syntax #3704

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Backport 7c3ee2e from #3702

THe problem is that grdcontour -N calls grdview and then itself via GMT_Call_Module.  However, we have already flagged it as a oneliner but now there are several calls.  The solution was to not trigger the oneliner check for grdcontour -N and then detect it instead in the special -N branch in grdcontour.  We parse the options and discover if the command was a oneliner or not, and if it is we craft the gmt begin call needed and add the gnt end show call at the end.  Seems to work.
@joa-quim joa-quim merged commit 01aea26 into 6.1 Jul 22, 2020
@joa-quim joa-quim deleted the backport-3702-to-6.1 branch July 22, 2020 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants