Skip to content

Commit

Permalink
r.profile: add JSON support (OSGeo#3872)
Browse files Browse the repository at this point in the history
Use parson to add json output format support to the r.profile module.
  • Loading branch information
kritibirda26 authored and a0x8o committed Jul 23, 2024
1 parent 70d8747 commit 8b099b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions raster/r.profile/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ int main(int argc, char *argv[])
parm.format = G_define_standard_option(G_OPT_F_FORMAT);
parm.units->guisection = _("Print");

parm.format = G_define_standard_option(G_OPT_F_FORMAT);
parm.units->guisection = _("Print");

if (G_parser(argc, argv))
exit(EXIT_FAILURE);

Expand Down

0 comments on commit 8b099b5

Please sign in to comment.