From 28cda9d593a59ab49de5b88721d83e262cb4a038 Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Mon, 9 Oct 2023 22:19:01 +0200 Subject: [PATCH 1/2] Update long-options for -o Given we now merged in #7887 we need to update -o, as -i. --- src/gmt_common_longoptions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gmt_common_longoptions.h b/src/gmt_common_longoptions.h index 61065f617b0..74704552983 100644 --- a/src/gmt_common_longoptions.h +++ b/src/gmt_common_longoptions.h @@ -117,7 +117,9 @@ { 0, 'n', "interpolation", "b,c,l,n", "bspline,bicubic,linear,nearneighbor", "a,b,c,t", "anti_alias,bc,clip,threshold" }, - { ',', 'o', "outcols", "", "", "", "" }, + { ',', 'i', "outcols", + "", "", + "l,d,o,s", "log10,divide,offset,scale" }, { 0, 'p', "perspective", "x,y,z", "x,y,z", "v,w", "view,world" }, From dc07ded1710fed2693b0580516695590738a16d3 Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Mon, 9 Oct 2023 23:04:53 +0200 Subject: [PATCH 2/2] Update gmt_common_longoptions.h Sorry, forgot to change 'i' to 'o'... --- src/gmt_common_longoptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmt_common_longoptions.h b/src/gmt_common_longoptions.h index 74704552983..54727aaaca1 100644 --- a/src/gmt_common_longoptions.h +++ b/src/gmt_common_longoptions.h @@ -117,7 +117,7 @@ { 0, 'n', "interpolation", "b,c,l,n", "bspline,bicubic,linear,nearneighbor", "a,b,c,t", "anti_alias,bc,clip,threshold" }, - { ',', 'i', "outcols", + { ',', 'o', "outcols", "", "", "l,d,o,s", "log10,divide,offset,scale" }, { 0, 'p', "perspective",