From 5d8e062988c2b1e87c4a13043a684fef7878c585 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 9 Oct 2024 17:24:15 +0800 Subject: [PATCH] gmtwhich: Rename the long names for arguments of the -G option (#8597) --- src/longopt/gmtwhich_inc.h | 2 +- test/gmtwhich/gmtwhich-l2s.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/longopt/gmtwhich_inc.h b/src/longopt/gmtwhich_inc.h index 66b1eea316c..4e430ece2d2 100644 --- a/src/longopt/gmtwhich_inc.h +++ b/src/longopt/gmtwhich_inc.h @@ -29,7 +29,7 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = { { 0, 'C', "confirm", "", "", "", "", GMT_TP_STANDARD }, { 0, 'D', "directories|report_dir", "", "", "", "", GMT_TP_STANDARD }, { 0, 'G', "download", - "a,c,l,u", "user,cache,current,data", + "a,c,l,u", "auto,cache,local,user", "", "", GMT_TP_STANDARD }, { 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */ diff --git a/test/gmtwhich/gmtwhich-l2s.sh b/test/gmtwhich/gmtwhich-l2s.sh index 8723733b39b..c4b48fa3e50 100755 --- a/test/gmtwhich/gmtwhich-l2s.sh +++ b/test/gmtwhich/gmtwhich-l2s.sh @@ -20,7 +20,7 @@ EOF gmt $m $l2s --readable >> $b gmt $m $l2s --confirm >> $b gmt $m $l2s --directories --report_dir >> $b -gmt $m $l2s --download=user --download=cache >> $b -gmt $m $l2s --download=current --download=data >> $b +gmt $m $l2s --download=auto --download=cache >> $b +gmt $m $l2s --download=local --download=user >> $b diff $a $b --strip-trailing-cr > fail