From e12d6b8a8336b8608a3d1eb3dedbb4cfc1c0a7ed Mon Sep 17 00:00:00 2001 From: Roger Davis Date: Wed, 29 Nov 2023 15:22:36 -1000 Subject: [PATCH] Add longoptions support for gmtset. (#8061) --- src/longopt/gmtset_inc.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/longopt/gmtset_inc.h b/src/longopt/gmtset_inc.h index c3a009b6256..f59416b7a07 100644 --- a/src/longopt/gmtset_inc.h +++ b/src/longopt/gmtset_inc.h @@ -25,18 +25,12 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = { short_directives, long_directives, short_modifiers, long_modifiers, transproc_mask */ - { 0, 'C', "", - "", "", - "", "", - GMT_TP_STANDARD }, - { 0, 'D', "", - "", "", - "", "", - GMT_TP_STANDARD }, - { 0, 'G', "", - "", "", + { 0, 'C', "convert", "", "", "", "", GMT_TP_STANDARD }, + { 0, 'D', "defaults|units", + "u,s", "us|US,si|SI", "", "", GMT_TP_STANDARD }, + { 0, 'G', "gmtconf|defaultsfile", "", "", "", "", GMT_TP_STANDARD }, { 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */ }; #endif /* !GMTSET_INC_H */