Opened 10 years ago

Last modified 4 years ago

#1979 new enhancement

add a G_add_keywords(char *, ...) function

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 7.6.2
Component: LibGIS Version: svn-trunk
Keywords: G_add_keyword, keywords Cc:
CPU: All Platform: All

Description

Hi,

any reason why we don't have a G_add_keywords(const char *, va_list) function in trunk?

thus

-    G_add_keyword(_("imagery"));
-    G_add_keyword(_("color transformation"));
-    G_add_keyword("RGB");
-    G_add_keyword("HIS");
-    G_add_keyword("IHS");
+    G_add_keywords(_("imagery"), _("color transformation"), "RGB", "HIS", "IHS");

the function could be as simple as iterating over the args and running G_add_keyword() multiple times.

?

thanks, Hamish

Change History (8)

comment:1 by martinl, 7 years ago

Milestone: 7.0.07.0.5

comment:2 by martinl, 6 years ago

Milestone: 7.0.57.3.0

comment:3 by martinl, 6 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:4 by neteler, 5 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:5 by neteler, 5 years ago

Milestone: 7.4.17.4.2

comment:6 by martinl, 4 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:7 by martinl, 4 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:8 by martinl, 4 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.