From 83b5dfc573bf14b7d4496f3ee9833670484b032b Mon Sep 17 00:00:00 2001 From: Roger Davis Date: Wed, 29 Nov 2023 15:36:53 -1000 Subject: [PATCH] Add longoptions support for gmtwhich. (#8071) * Add longoptions support for gmtwhich. * Add longoptions support for gmtwhich. * Add longoptions support for gmtwhich. --- src/longopt/gmtwhich_inc.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/longopt/gmtwhich_inc.h b/src/longopt/gmtwhich_inc.h index 091652fa71d..d7c6a2ba656 100644 --- a/src/longopt/gmtwhich_inc.h +++ b/src/longopt/gmtwhich_inc.h @@ -25,20 +25,11 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = { short_directives, long_directives, short_modifiers, long_modifiers, transproc_mask */ - { 0, 'A', "", - "", "", - "", "", - GMT_TP_STANDARD }, - { 0, 'C', "", - "", "", - "", "", - GMT_TP_STANDARD }, - { 0, 'D', "", - "", "", - "", "", - GMT_TP_STANDARD }, - { 0, 'G', "", - "", "", + { 0, 'A', "readable", "", "", "", "", GMT_TP_STANDARD }, + { 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", "", "", GMT_TP_STANDARD }, { 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */